Hadoop configuration environment variable (Detailed Version)

1. Run the program hadoop error java.io.IOException: Could not the locate Executable null \ bin \ winutils.exe at The Hadoop in the Binaries.Here Insert Picture Description
** This is because of windows environment variable is not compatible with the solution:

  1. Hadoop first need to download the tar.gz package, provided that the JDK must be configured successfully, the storage path can not have Chinese
  2. This configuration environment variable Computer - Properties - Advanced System Settings - environment variable ** ****** Here Insert Picture Description
    Here Insert Picture Description
    New System Variable
    Here Insert Picture Description
    Here Insert Picture Description
    Variable name: HADOOP_HOME variable values: your Hadoop location E: \ hadoop \ hadoop-2.8.0 \ hadoop-2.8.0 Edit Path System Path % HADOOP_HOME% \ bin
    without spaces

    Here Insert Picture Description
    edited hadoop file using Notepad to open the \ etc \ hadoop \ hadoop-enc.cmd file to modify for your own jdk JAVA_HOME path to
    Here Insert Picture Description
    this point has been configured, you need to restart IntelliJ IDEA 1. can window open the window, enter cmd + r hadoop test
    Here Insert Picture Descriptionconfiguration was successful
    re-development tools to start
Published 56 original articles · won praise 561 · views 20000 +

Guess you like

Origin blog.csdn.net/CZXY18ji/article/details/102969982