The following exception is thrown when Windows uses eclipse to remotely invoke a Hadoop cluster
NULL in the Hadoop binaries.
This question
(1) You have not set the environment variable of Hadoop, so prompt null\bin\ ....
(2) You have no winutils.exe.
Winutils.exe:Https://github.com/srccodes/hadoop-common-2.2.0-bin (Don't worry about version issues, I Hadoop2.6.4 and Hadoop2.7.3 all use this), Then put the downloaded Winutils.exe in the bin/directory of your Hadoop installation directory
There are two ways of setting environment variables
>1: Environment Variables One is you can set directly in the program (the advantage is that you do not have to restart the computer, but you have to write a small example to set up a bit)
Configuration conf=New configuration (); Conf. Set ("hadoop_home", "h:\\publicquotejar\\hadoop-2.7.3");
>2: Set environment variables in the system, similar to Java settings (only need to set once, remember to restart the computer after setting to take effect, JDK set environment variables do not restart)
You want to set hadoop_home and PATH
In the system variable---"new
PATH settings (to bin directory)
Executable Null\bin\winutils.exe in the Hadoop binaries.