ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <>
Subject [jira] [Created] (AMBARI-10415) Sometimes Datanode start fails when using non-default umask
Date Thu, 09 Apr 2015 15:35:12 GMT
Andrew Onischuk created AMBARI-10415:

             Summary: Sometimes Datanode start fails when using non-default umask
                 Key: AMBARI-10415
             Project: Ambari
          Issue Type: Bug
            Reporter: Andrew Onischuk
            Assignee: Andrew Onischuk
             Fix For: 2.1.0

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/resource_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

This message was sent by Atlassian JIRA

View raw message