Repository: ambari Updated Branches: refs/heads/branch-2.0.0 cec514a6a -> 6ca2fc4c2 refs/heads/trunk 4bfde4351 -> 8edd3d33e
AMBARI-9958. Hive (Hive metastore start...) start failed (umask=027) (aonishuk) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/8edd3d33 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/8edd3d33 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/8edd3d33 Branch: refs/heads/trunk Commit: 8edd3d33e69dcb948f26841739a1d72abfca920a Parents: 4bfde43 Author: Andrew Onishuk <[email protected]> Authored: Fri Mar 6 13:54:18 2015 +0200 Committer: Andrew Onishuk <[email protected]> Committed: Fri Mar 6 13:54:18 2015 +0200 ---------------------------------------------------------------------- ambari-agent/conf/unix/install-helper.sh | 6 ++++++ 1 file changed, 6 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/8edd3d33/ambari-agent/conf/unix/install-helper.sh ---------------------------------------------------------------------- diff --git a/ambari-agent/conf/unix/install-helper.sh b/ambari-agent/conf/unix/install-helper.sh index e0c348c..75acab7 100644 --- a/ambari-agent/conf/unix/install-helper.sh +++ b/ambari-agent/conf/unix/install-helper.sh @@ -56,6 +56,12 @@ do_install(){ if [ $? -ne 0 ] ; then echo '#includedir /etc/sudoers.d' >> /etc/sudoers fi + + # on nano Ubuntu, when umask=027 those folders are created without 'x' bit for 'others'. + # which causes failures when hadoop users try to access tmp_dir + chmod a+x /var/lib/ambari-agent + chmod a+x /var/lib/ambari-agent/data + chmod a+x /var/lib/ambari-agent/data/tmp } do_remove(){
