You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Nimesh Desai <ni...@anovadata.com> on 2016/03/11 10:02:15 UTC

Hard-coded oozie_tmp_dir in params_linux.py

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> |   <ma...@anovadata.com> nimesh@anovadata.com<ma...@anovadata.com>