Do not share the same log file with MetaStore daemon.
This commit is contained in:
parent
a9ef4c9588
commit
0d093cdae0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=400024
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue