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.

HDFS not starting; hdfs command not found

Solved Go to solution
Highlighted

HDFS not starting; hdfs command not found

Expert Contributor

13139-hdfs-command-not-found.png

hdfs-client-install.txtI have installed sandbox, initially HDFS was on maintenance mode and it was stopped.

Later turned off maintenance mode and tried starting HDFS. Wasnt successful in starting HDFS.

Also HDFS command is showing as command not found. Am attaching the screenshots and log file

1 ACCEPTED SOLUTION

Accepted Solutions

Re: HDFS not starting; hdfs command not found

Super Mentor

@Viswa

Please make sure that you do ssh to Sandbox as following and then try the hdfs commands: (On port 2222) password "hadoop"

# ssh root@localhost -p 2222
root@localhost's password: hadoop

.

Which Sandbox version is it? Can you open the "http://localhost:4200" web terminal?

View solution in original post

6 REPLIES 6

Re: HDFS not starting; hdfs command not found

Super Mentor

@Viswa

Please make sure that you do ssh to Sandbox as following and then try the hdfs commands: (On port 2222) password "hadoop"

# ssh root@localhost -p 2222
root@localhost's password: hadoop

.

Which Sandbox version is it? Can you open the "http://localhost:4200" web terminal?

View solution in original post

Highlighted

Re: HDFS not starting; hdfs command not found

Expert Contributor

i did ssh root@localhost, however the web terminal you mentioned has worked. Now am able to run hdfs commands.

Can you please help me with starting HDFS in ambari.

Highlighted

Re: HDFS not starting; hdfs command not found

Super Mentor

@Viswa

What error are you getting while starting HDFS via ambari ?

Highlighted

Re: HDFS not starting; hdfs command not found

Expert Contributor

@Jay SenSharma

deleted unwanted services, and rebooted. It worked, HDFS is working now. Thank you for your prompt response.

Highlighted

Re: HDFS not starting; hdfs command not found

Set your hadoop path in .bashrc.

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