Skip to content

Instantly share code, notes, and snippets.

I checked that:
In /etc/init.d/hive-server of CDH4.1.2 & CDH4.2.0
* specified 'LOG_FILE="/var/log/hive/${NAME}.log"'
* same filename specified as 'HADOOP_OPTS=\"-Dhive.log.dir=`dirname $LOG_FILE` -Dhive.log.file=${DAEMON}.log'
So, all logs of hive-server in 'hive-server.log' file is truncated when hive-server started.
In etc/rc.d/init.d of CDH4.3.0 (extracted tree of rpm)
@oza
oza / gist:39e37a20f5af22b655b6
Last active February 15, 2016 17:29 — forked from wyukawa/gist:af102166e6c6e74cb9c3
tez-site.xml
<configuration>
<property>
<name>tez.am.am-rm.heartbeat.interval-ms.max</name>
<value>250</value>
</property>
<property>
<name>tez.am.container.idle.release-timeout-max.millis</name>
<value>20000</value>