Do not share the same log file with MetaStore daemon.

This commit is contained in:
Dmitry Sivachenko 2015-10-23 13:30:29 +00:00
parent a9ef4c9588
commit 0d093cdae0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=400024

View file

@ -26,7 +26,7 @@ stop_cmd="hiveserver2_stop"
command="%%PREFIX%%/hive/bin/hive"
hiveserver2_start() {
su -m %%HIVE_USER%% -c "HADOOP_OPTS=\"-Dhive.log.dir=%%HIVE_LOGDIR%% -Dhive.log.file=metastore.log -Dhive.log.threshold=INFO\" $command --service $name > %%HIVE_LOGDIR%%/$name.out 2>&1 < /dev/null & "' echo $! '"> $pidfile"
su -m %%HIVE_USER%% -c "HADOOP_OPTS=\"-Dhive.log.dir=%%HIVE_LOGDIR%% -Dhive.log.file=hiveserver2.log -Dhive.log.threshold=INFO\" $command --service $name > %%HIVE_LOGDIR%%/$name.out 2>&1 < /dev/null & "' echo $! '"> $pidfile"
}
hiveserver2_stop() {