win10 configuration hadoop-2.7.2

win10 configuration hadoop-2.7.2

1. Download

       In the first  http://acrchive.apache.org/dist/hadoop/common/hadoop-2.7.2/hadoop-2.7.2.tar.gz 

       

2, extract configuration

       To extract the directory, set the environment variable in the Advanced system settings

          

       

The configuration, enter cmd "hadoop version"

    

 The following error occurs, but it is normal java

Error: JAVA_HOME is incorrectly set. Please update ...\hadoop\conf\hadoop-env.cmd

To ..... \ hadoop-2.7.2 \ etc \ hadoop path below to find the file "hadoop-env"

Point to open the line configuration JAVA, JAVA path because the original path following the C drive "program file" spaces, so replace "\ PROGRA ~ 1 \", then save

        

 

  Revalidated cmd input hadoop version

       

 

Guess you like

Origin www.cnblogs.com/Jomini/p/11432484.html