hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-21392) Misconfigurations of DataNucleus log in log4j.properties
Date Sat, 16 Mar 2019 12:12:00 GMT

    [ https://issues.apache.org/jira/browse/HIVE-21392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16794231#comment-16794231
] 

Hive QA commented on HIVE-21392:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12962702/HIVE-21392.04.patch

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 15833 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.common.metrics.metrics2.TestCodahaleMetrics.testFileReporting (batchId=285)
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/16545/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/16545/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-16545/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 1 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12962702 - PreCommit-HIVE-Build

> Misconfigurations of DataNucleus log in log4j.properties
> --------------------------------------------------------
>
>                 Key: HIVE-21392
>                 URL: https://issues.apache.org/jira/browse/HIVE-21392
>             Project: Hive
>          Issue Type: Improvement
>          Components: Logging
>    Affects Versions: 2.0.0
>            Reporter: Chen Zhi
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-21392.02.patch, HIVE-21392.03.patch, HIVE-21392.04.patch, HIVE-21392.patch
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> In the patch of  [HIVE-12020|https://issues.apache.org/jira/browse/HIVE-12020], we changed
the DataNucleus related logging configuration from nine fine-grained loggers with three coarse-grained
loggers (DataNucleus, Datastore and JPOX). As Prasanth Jayachandran [explain|https://issues.apache.org/jira/browse/HIVE-12020?focusedCommentId=15025612&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15025612],
these three loggers are the top-level logger in DataNucleus, so that we don't need to specify
other loggers for DataNucleus. However, according to the [documents|http://www.datanucleus.org/products/accessplatform/logging.html]
and [source codes|https://github.com/datanucleus/datanucleus-core/blob/master/src/main/java/org/datanucleus/util/NucleusLogger.java#L108]
of DataNucleus, the top-level logger in DataNucleus is `DataNucleus`. Therefore, we just need
to keep the right one.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message