Home > other >  Hadoop (HDFS) : command not found. How to solve?
Hadoop (HDFS) : command not found. How to solve?

Time:09-27

A few days ago, was fully distributed configuration completed the HADOOP cluster, has opened the JPS, success to open the page 50070.
A few days later, on to the next operation, HDFS and hadoop command fails, this suggests that the preliminary judgment is environment variable configuration problem, where hope help have a look at the problem, many thanks!

Graph one: at the end of/etc/profile file path change
Graph 2: the content of the files under this path [root @ master hadoop] ls
Figure 3: successful CD $HADOOP_HOME
Figure 4: successfully open the JPS
Figure 5: failure hadoop version: command not found.

CodePudding user response:

The PATH environment variable bin and less a colon between $PATH

CodePudding user response:

reference 1st floor DoloresOOO response:
the PATH environment variable bin and less a colon between $PATH

Are you saying that bin a colon after it? PATH=$HADOOP_HOME/bin: $PATH:/usr/Java/jdk1.7.0 _80/bin?

CodePudding user response:

refer to the second floor HHY_1990 response:
Quote: refer to 1st floor DoloresOOO response:
the PATH environment variable bin and less a colon between $PATH

Are you saying that bin a colon after it? PATH=$HADOOP_HOME/bin: $PATH:/usr/Java/jdk1.7.0 _80/bin?

Yes, and then the source profile file

CodePudding user response:

reference DoloresOOO reply: 3/f
Quote: refer to the second floor HHY_1990 response:

Quote: refer to 1st floor DoloresOOO response:
the PATH environment variable bin and less a colon between $PATH

Are you saying that bin a colon after it? PATH=$HADOOP_HOME/bin: $PATH:/usr/Java/jdk1.7.0 _80/bin?

Yes, then the source profile file

Ok thank you
  • Related