hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phabricator (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-2691) Specify location of log4j configuration files via configuration properties
Date Fri, 13 Jan 2012 07:15:41 GMT

     [ https://issues.apache.org/jira/browse/HIVE-2691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Phabricator updated HIVE-2691:
------------------------------

    Attachment: HIVE-2691.D1203.2.patch

zhenxiao updated the revision "HIVE-2691 [jira] Specify location of log4j configuration files
via configuration properties".
Reviewers: JIRA, cwsteinbach


  Address Carl's comments.
  Move log4j configuration logic into LogUtils
  HiveConf provide getters for hiveDefaultURL and hiveSiteURL
  hive-site location is logged by LogUtils to sequence log/conf initialization

REVISION DETAIL
  https://reviews.facebook.net/D1203

AFFECTED FILES
  cli/src/java/org/apache/hadoop/hive/cli/CliDriver.java
  common/src/java/org/apache/hadoop/hive/common/LogUtils.java
  common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
  common/src/test/org/apache/hadoop/hive/conf/TestHiveLogging.java
  common/src/test/resources/hive-exec-log4j-test.properties
  common/src/test/resources/hive-log4j-test.properties
  conf/hive-default.xml.template
  hwi/src/java/org/apache/hadoop/hive/hwi/HWISessionItem.java
  metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
  ql/src/java/org/apache/hadoop/hive/ql/exec/ExecDriver.java
  ql/src/test/org/apache/hadoop/hive/ql/history/TestHiveHistory.java
  service/src/java/org/apache/hadoop/hive/service/HiveServer.java

                
> Specify location of log4j configuration files via configuration properties
> --------------------------------------------------------------------------
>
>                 Key: HIVE-2691
>                 URL: https://issues.apache.org/jira/browse/HIVE-2691
>             Project: Hive
>          Issue Type: New Feature
>          Components: Configuration, Logging
>            Reporter: Carl Steinbach
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-2691.D1131.1.patch, HIVE-2691.D1203.1.patch, HIVE-2691.D1203.2.patch
>
>
> Oozie needs to be able to override the default location of the log4j configuration
> files from the Hive command line, e.g:
> {noformat}
> hive -hiveconf hive.log4j.file=/home/carl/hive-log4j.properties -hiveconf hive.log4j.exec.file=/home/carl/hive-exec-log4j.properties
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message