Executable Null\bin\winutils.exe in the Hadoop binaries.

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.