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

Carl Steinbach commented on HIVE-1530:
--------------------------------------

bq. but users may want to modify the log4.properties files. how would do they 
do that in the new arrangement?

Hive uses a classloader to get the hive-log4j and hive-exec-log4j property 
resources. If a user wants to override the log4j properties that are bundled 
with the JAR they only need to make sure that their copy appears first on the 
CLASSPATH.



> Include hive-default.xml and hive-log4j.properties in hive-common JAR
> ---------------------------------------------------------------------
>
>                 Key: HIVE-1530
>                 URL: https://issues.apache.org/jira/browse/HIVE-1530
>             Project: Hadoop Hive
>          Issue Type: Improvement
>          Components: Configuration
>            Reporter: Carl Steinbach
>
> hive-common-*.jar should include hive-default.xml and hive-log4j.properties,
> and similarly hive-exec-*.jar should include hive-exec-log4j.properties. The
> hive-default.xml file that currently sits in the conf/ directory should be 
> removed.
> Motivations for this change:
> * We explicitly tell users that they should never modify hive-default.xml yet 
> give them the opportunity to do so by placing the file in the conf dir.
> * Many users are familiar with the Hadoop configuration mechanism that does 
> not require *-default.xml files to be present in the HADOOP_CONF_DIR, and 
> assume that the same is true for HIVE_CONF_DIR.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to