Hi,
   I ambari-server and ambari-agent (version 2.1.2-377), oozie_tmp_dir path is 
hard-coded to /var/tmp/oozie. This is problematic on CentOs/RHEL where /var/tmp 
is trashed periodically. Because of which, Oozie service stop/start through 
Ambari UI thrown an error about given path does not exist.

Error:

2016-03-07 14:25:25,343 - Execute['cd /var/tmp/oozie && 
/usr/hdp/current/oozie-server/bin/oozie-stop.sh'] {'environment': 
{'OOZIE_CONFIG': '/usr/hdp/current/oozie-server/conf'}, 'only_if': 
"ambari-sudo.sh su oozie -l -s /bin/bash -c 'ls /var/run/oozie/oozie.pid 
>/dev/null 2>&1 && ps -p `cat /var/run/oozie/oozie.pid` >/dev/null 2>&1'", 
'user': 'oozie'}

Nimesh Desai, Principal Software Engineer
+91-9<tel:+919881132704>881132704<tel:+919881132704> |   
<mailto:[email protected]> [email protected]<mailto:[email protected]>





Reply via email to