You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2014/02/06 15:24:10 UTC

[jira] [Resolved] (AMBARI-4547) DataNode start failed after enabling security

     [ https://issues.apache.org/jira/browse/AMBARI-4547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Onischuk resolved AMBARI-4547.
-------------------------------------

    Resolution: Fixed

committed to trunk

> DataNode start failed after enabling security
> ---------------------------------------------
>
>                 Key: AMBARI-4547
>                 URL: https://issues.apache.org/jira/browse/AMBARI-4547
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 1.5.0
>
>         Attachments: AMBARI-4547.patch
>
>
> *STR:*
> # Deployed cluster with selected all services (without Oozie, Storm, Falcon).
> # Enabled security.
> *Result:* DataNode start failed with such output:
> {code}
> stderr: 
>     self.env.run()
>   File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 149, in run
>     self.run_action(resource, action)
>   File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action
>     provider_action()
>   File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 237, in action_run
>     raise ex
> Fail: Execution of 'ulimit -c unlimited;  export HADOOP_LIBEXEC_DIR=/usr/lib/hadoop/libexec && /usr/lib/hadoop/sbin/hadoop-daemon.sh --config /etc/hadoop/conf start datanode' returned 1. starting datanode, logging to /grid/0/log/hadoop/hdfs/hadoop-hdfs-datanode-c6402.ambari.apache.org.out
> JSVC_HOME is not set correctly so jsvc cannot be found. Jsvc is required to run secure datanodes. 
> Please download and install jsvc from http://archive.apache.org/dist/commons/daemon/binaries/  and set JSVC_HOME to the directory containing the jsvc binary.
>  stdout:
>     self.env.run()
>   File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 149, in run
>     self.run_action(resource, action)
>   File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action
>     provider_action()
>   File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 237, in action_run
>     raise ex
> Fail: Execution of 'ulimit -c unlimited;  export HADOOP_LIBEXEC_DIR=/usr/lib/hadoop/libexec && /usr/lib/hadoop/sbin/hadoop-daemon.sh --config /etc/hadoop/conf start datanode' returned 1. starting datanode, logging to /grid/0/log/hadoop/hdfs/hadoop-hdfs-datanode-c6402.ambari.apache.org.out
> JSVC_HOME is not set correctly so jsvc cannot be found. Jsvc is required to run secure datanodes. 
> Please download and install jsvc from http://archive.apache.org/dist/commons/daemon/binaries/  and set JSVC_HOME to the directory containing the jsvc binary.
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)