Home > OS >  On Linux hadoop formatting problem at last
On Linux hadoop formatting problem at last

Time:10-06

HDFS command format is always wrong, cannot solve how to do
Please bosses see or environment variables on the question of

CodePudding user response:

Before and after the directory names in, in front of you set hadoop_home, behind the export path=$path: $hadoophome/bin, an underscore, a no underline

CodePudding user response:

reference 1st floor zhouchao6 response:
directory names before and after the, not in front of you set hadoop_home, behind the export path=$path: $hadoophome/bin, an underscore, a not underlined

Uh-huh changed, but not yet,,

CodePudding user response:

Check your installation directory, isn't that right, is there a source; The echo $PATH to see if output inside your hadoop

CodePudding user response:

reference zhouchao6 reply: 3/f
check your installation directory, isn't that right, is there a source; The echo $PATH to see in the output of your hadoop

This is the result of in hadoop2.7.3 echo $PATH:/opt/hadoop - 2.7.3 $bin:/usr/javaek1.8.0 _11 $bin:/usrPb64I - 3.3/bin:/usr/local/sbin,/usr/local/bin,/sbin,/bin:/usr/sbin,/usr/bin:/root/bin, I also don't understand,,

CodePudding user response:

The source of these are your instructions, such as ls CD these instructions are under such a directory, so your HDFS instructions also need to write in the PATH,
Normal should be opt/hadoop - 2.7.3/bin/usr/Java/jdk1.8.0 _11/bin but I don't know why you will display into $bin
Is not you/opt/hadoop - 2.7.3/bin/HDFS to perform

CodePudding user response:

Can't find HDSF file, use the find command to find the HDSF file, and then put the file directory in the path
  • Related