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-19886) Logs may be directed to 2 files if --hiveconf hive.log.file is used
Date Sat, 23 Jun 2018 02:25:00 GMT

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

Hive QA commented on HIVE-19886:
--------------------------------



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

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

{color:green}SUCCESS:{color} +1 due to 14590 tests passed

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

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
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12928661 - PreCommit-HIVE-Build

> Logs may be directed to 2 files if --hiveconf hive.log.file is used
> -------------------------------------------------------------------
>
>                 Key: HIVE-19886
>                 URL: https://issues.apache.org/jira/browse/HIVE-19886
>             Project: Hive
>          Issue Type: Bug
>          Components: Logging
>    Affects Versions: 3.1.0, 4.0.0
>            Reporter: Prasanth Jayachandran
>            Assignee: Jaume M
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-19886.2.patch, HIVE-19886.patch
>
>
> hive launch script explicitly specific log4j2 configuration file to use. The main() methods
in HiveServer2 and HiveMetastore reconfigures the logger based on user input via --hiveconf
hive.log.file. This may cause logs to end up in 2 different files. Initial logs goes to the
file specified in hive-log4j2.properties and after logger reconfiguration the rest of the
logs goes to the file specified via --hiveconf hive.log.file. 



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

Mime
View raw message