----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/33016/#review79517 -----------------------------------------------------------
Ship it! Ship It! - Vitalyi Brodetskyi On Квітень 9, 2015, 3:35 після полудня, Andrew Onischuk wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/33016/ > ----------------------------------------------------------- > > (Updated Квітень 9, 2015, 3:35 після полудня) > > > Review request for Ambari and Vitalyi Brodetskyi. > > > Bugs: AMBARI-10415 > https://issues.apache.org/jira/browse/AMBARI-10415 > > > Repository: ambari > > > Description > ------- > > 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/script.py\", > line 214, in execute\n method(env)\n File > \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/datanode.py\", > line 63, in start\n datanode(action=\"start\")\n File > \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_datanode.py\", > line 61, in datanode\n create_log_dir=True\n File > \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/utils.py\", > line 219, in service\n environment=hadoop_env_exports\n File > \"/usr/lib/python2.6/site-packages/resource_management/core/base.py\", line > 148, in __init__\n self.env.run()\n File > \"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\", > line 152, in run\n self.run_action(resource, action)\n File > \"/usr/lib/python2.6/site-packages /resource_management/core/environment.py\", line 118, in run_action\n provider_action()\n File \"/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py\", line 274, in action_run\n raise ex\nFail: Execution of 'ambari-sudo.sh su hdfs -l -s /bin/bash -c 'ulimit -c unlimited ; /usr/hdp/current/hadoop-client/sbin/hadoop-daemon.sh --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/2.2.4.0-2626//hadoop-hdfs/bin/hdfs.distro: line 281: /usr/jdk64/jdk1.7.0_67/bin/java: Permission denied\r\n/usr/hdp/2.2.4.0-2626//hadoop-hdfs/bin/hdfs.distro: line 281: exec: /usr/jdk64/jdk1.7.0_67/bin/java: cannot execute: Permission denied > > > Diffs > ----- > > > ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/shared_initialization.py > 8adc550 > > ambari-server/src/test/python/stacks/2.0.6/hooks/before-INSTALL/test_before_install.py > 3c89fb3 > > Diff: https://reviews.apache.org/r/33016/diff/ > > > Testing > ------- > > mvn clean test > > > Thanks, > > Andrew Onischuk > >
