[
https://issues.apache.org/jira/browse/HIVE-16075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
yunfei liu updated HIVE-16075:
------------------------------
Description:
when I start hive metastore with command:
{quote}
{{hive --service metastore -hiveconf hive.log.file=hivemetastore.log -hiveconf
hive.log.dir=/home/yun/hive/log}}
{quote}
The two log parameters won't take effect because after metastore copy hive conf
parameters into java system properties, it doesn't reinitialize log4j.
was:
when I start hive metastore with command :
{quote}
{{hive --service metastore -hiveconf hive.log.file=hivemetastore.log -hiveconf
hive.log.dir=/home/yun/hive/log}}
{quote}
The two log parameters won't take effect。
The reason is that : After metastore copy hive conf parameters into java system
properties, it doesn't reinitialize log4j
> MetaStore needs to reinitialize log4j to allow log specific settings via
> hiveconf take effect
> ----------------------------------------------------------------------------------------------
>
> Key: HIVE-16075
> URL: https://issues.apache.org/jira/browse/HIVE-16075
> Project: Hive
> Issue Type: Improvement
> Components: Metastore
> Affects Versions: 2.2.0
> Reporter: yunfei liu
> Assignee: yunfei liu
> Priority: Minor
>
> when I start hive metastore with command:
> {quote}
> {{hive --service metastore -hiveconf hive.log.file=hivemetastore.log
> -hiveconf hive.log.dir=/home/yun/hive/log}}
> {quote}
> The two log parameters won't take effect because after metastore copy hive
> conf parameters into java system properties, it doesn't reinitialize log4j.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)