ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <>
Subject Review Request 33016: Sometimes Datanode start fails when using non-default umask
Date Thu, 09 Apr 2015 15:35:05 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for Ambari and Vitalyi Brodetskyi.

Bugs: AMBARI-10415

Repository: ambari


1.Set umask to 0027  
2.Install ambari-server  
3.Deploy ambari  
Datanode start fails with stderr :

    2015-03-22 19:21:38,154 - Error while executing command 'start':\nTraceback (most recent
call last):\n  File \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/\",
line 214, in execute\n    method(env)\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/\",
line 63, in start\n    datanode(action=\"start\")\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/\",
line 61, in datanode\n    create_log_dir=True\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/\",
line 219, in service\n    environment=hadoop_env_exports\n  File \"/usr/lib/python2.6/site-packages/resource_management/core/\",
line 148, in __init__\n\n  File \"/usr/lib/python2.6/site-packages/resource_management/core/\",
line 152, in run\n    self.run_action(resource, action)\n  File \"/usr/lib/python2.6/site-packages/r
 esource_management/core/\", line 118, in run_action\n    provider_action()\n
 File \"/usr/lib/python2.6/site-packages/resource_management/core/providers/\", line
274, in action_run\n    raise ex\nFail: Execution of ' su hdfs -l -s /bin/bash
-c 'ulimit -c unlimited ;  /usr/hdp/current/hadoop-client/sbin/ --config /etc/hadoop/conf
start datanode'' returned 1. starting datanode, logging to /grid/0/log/hadoop/hdfs/hadoop-hdfs-datanode-hea-testooziehivedatabaseoptions-ubu12-4515-5.out\r\n/usr/hdp/
line 281: /usr/jdk64/jdk1.7.0_67/bin/java: Permission denied\r\n/usr/hdp/
line 281: exec: /usr/jdk64/jdk1.7.0_67/bin/java: cannot execute: Permission denied


  ambari-server/src/test/python/stacks/2.0.6/hooks/before-INSTALL/ 3c89fb3



mvn clean test


Andrew Onischuk

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message