Failed to connect to Hadoop or stuck processing

Source: Internet
Author: User

Failed to connect to Hadoop or stuck processing

If the following error occurs:
Java. io. IOException: cocould not locate executable null \ bin \ winutils.exe in the Hadoop binaries.
At org. apache. hadoop. util. Shell. getQualifiedBinPath (Shell. java: 318)
At org. apache. hadoop. util. Shell. getWinUtilsPath (shells. java: 333)
At org. apache. hadoop. util. Shell. (Shell. java: 326)
At org. apache. hadoop. util. StringUtils. (StringUtils. java: 76)
At org. apache. hadoop. security. Groups. parseStaticMapping (Groups. java: 93)
At org. apache. hadoop. security. Groups. (Groups. java: 77)
At org. apache. hadoop. security. Groups. getUserToGroupsMappingService (Groups. java: 240)
At org. apache. hadoop. security. UserGroupInformation. initialize (UserGroupInformation. java: 255)
At org. apache. hadoop. security. UserGroupInformation. ensureInitialized (UserGroupInformation. java: 232)
At org. apache. hadoop. security. UserGroupInformation. loginUserFromSubject (UserGroupInformation. java: 718)
At org. apache. hadoop. security. UserGroupInformation. getLoginUser (UserGroupInformation. java: 703)
At org. apache. hadoop. security. UserGroupInformation. getCurrentUser (UserGroupInformation. java: 605)
At org. apache. hadoop. hbase. security. User $ SecureHadoopUser. (User. java: 262)
At org. apache. hadoop. hbase. security. User $ SecureHadoopUser. (User. java: 258)
At org. apache. hadoop. hbase. security. User. getCurrent (User. java: 160)
At org. apache. hadoop. hbase. security. UserProvider. getCurrent (UserProvider. java: 89)
At org. apache. hadoop. hbase. client. HConnectionManager. createConnection (HConnectionManager. java: 330)
At com. tracker. common. db. simplehbase. connection. HbaseUtils. createHConnection (HbaseUtils. java: 33)
At com. tracker. common. db. simplehbase. connection. HConnectionPool. initHConnectionPool (HConnectionPool. java: 54)
At com. tracker. common. db. simplehbase. connection. HConnectionPool. initHConnectionPool (HConnectionPool. java: 38)
At com. tracker. data. api. handler. TestWebStatsService. main (TestWebStatsService. java: 44)
You need to add the environment variable of HADOOP_HOME as follows:

If the connection to Hadoop is stuck, configure the C: \ Windows \ System32 \ drivers \ etc \ hosts file and add the proxy
10.100.2.92 dev-hadoop1
10.100.2.93 dev-hadoop2
10.100.2.94 dev-hadoop3
Then you can smoothly connect to Hadoop.

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.