Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

CDH5 on Debain getting error when use $ sudo -u hdfs hdfs dfs -ls /

CDH5 on Debain getting error when use $ sudo -u hdfs hdfs dfs -ls /

Contributor

Hi team, 

 

I am getting below error while executing command

 

$ sudo -u hdfs hdfs dfs -ls /

 

 

/usr/lib/hadoop-hdfs/bin/hdfs: line 34: /usr/lib/hadoop/libexec//hdfs-config.sh: No such file or directory
/usr/lib/hadoop-hdfs/bin/hdfs: line 309: exec: : not found

 

 

Also found when I use command $ Hadoop 

it gives me below error. it seems like hadoop is not running, any fix please

 

root@blrrndtipamo02:/etc/hadoop/conf# hadoop
/usr/bin/hadoop: line 8: /usr/lib/hadoop/bin/hadoop: No such file or directory

Don't have an account?
Coming from Hortonworks? Activate your account here