Looks like datanode start script succeeded but datanode failed soon after.
Try to see if datanode is running by checking the process with id in
/var/run/hadoop/hdfs/hadoop-hdfs-datanode.pid.

If not then check the datanode log file at
/var/log/hadoop/hdfs/hadoop-hdfs-datanode-*.log.
This should say why datanode failed. Similarly, you can check the task
tracker log file at /var/log/hadoop as well. Look for log files with
trasktracker in the name.

Share the errors and we can help debug it. What version of Ambari and stack
you are using?

-Sumit


On Wed, Feb 26, 2014 at 3:36 AM, AKSHATHA SATHYANARAYAN <
[email protected]> wrote:

>  Hello All,
>
>
>
> I am getting the following error while installing datanode and
> tasktracker. Any help/suggestion is appreciated.
>
>
>
> err:
> /Stage[2]/Hdp-hadoop::Datanode/Hdp-hadoop::Service[datanode]/Hdp::Exec[sleep
> 5; ls /var/run/hadoop/hdfs/hadoop-hdfs-datanode.pid >/dev/null 2>&1 && ps
> `cat /var/run/hadoop/hdfs/hadoop-hdfs-datanode.pid` >/dev/null
> 2>&1]/Exec[sleep 5; ls /var/run/hadoop/hdfs/hadoop-hdfs-datanode.pid
> >/dev/null 2>&1 && ps `cat /var/run/hadoop/hdfs/hadoop-hdfs-datanode.pid`
> >/dev/null 2>&1]/returns: change from notrun to 0 failed: sleep 5; ls
> /var/run/hadoop/hdfs/hadoop-hdfs-datanode.pid >/dev/null 2>&1 && ps `cat
> /var/run/hadoop/hdfs/hadoop-hdfs-datanode.pid` >/dev/null 2>&1 returned 1
> instead of one of [0] at
> /var/lib/ambari-agent/puppet/modules/hdp/manifests/init.pp:487
>
>
>
> Thanks,
>
> Akshata
>
>
>

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Reply via email to