Hadoop datanode new Exception Handling

Source: Internet
Author: User

Hadoop deploys a new node. After the deployment is complete, start datanode. The error is as follows:

STARTUP_MSG: Starting DataNode
STARTUP_MSG: host = node-128-99/192.168.1.99
STARTUP_MSG: args = []
STARTUP_MSG: version = 1.1.2
STARTUP_MSG: build = https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1.1-r 1440782; compiled by 'hortonfo' on Thu Jan 31 02:06:43 UTC 2013
**************************************** ********************/
17:19:20, 492 INFO org. apache. hadoop. metrics2.impl. MetricsConfig: loaded properties from hadoop-metrics2.properties
17:19:20, 508 INFO org. apache. hadoop. metrics2.impl. MetricsSourceAdapter: MBean for source MetricsSystem, sub = Stats registered.
17:19:20, 509 INFO org. apache. hadoop. metrics2.impl. MetricsSystemImpl: Scheduled snapshot period at 10 second (s ).
17:19:20, 509 INFO org. apache. hadoop. metrics2.impl. MetricsSystemImpl: DataNode metrics system started
17:19:20, 670 INFO org. apache. hadoop. metrics2.impl. MetricsSourceAdapter: MBean for source ugi registered.
17:19:20, 736 WARN org. apache. hadoop. hdfs. server. datanode. DataNode: Invalid directory in dfs. data. dir: can not create directory:/opt/dfs/data
17:19:22, 183 ERROR org. apache. hadoop. hdfs. server. datanode. dataNode: org. apache. hadoop. util. diskChecker $ DiskErrorException: Invalid value for volsFailed: 1, Volumes tolerated: 0
At org. apache. hadoop. hdfs. server. datanode. FSDataset. <init> (FSDataset. java: 974)
At org. apache. hadoop. hdfs. server. datanode. DataNode. startDataNode (DataNode. java: 403)
At org. apache. hadoop. hdfs. server. datanode. DataNode. <init> (DataNode. java: 309)
At org. apache. hadoop. hdfs. server. datanode. DataNode. makeInstance (DataNode. java: 1651)
At org. apache. hadoop. hdfs. server. datanode. DataNode. instantiateDataNode (DataNode. java: 1590)
At org. apache. hadoop. hdfs. server. datanode. DataNode. createDataNode (DataNode. java: 1608)
At org. apache. hadoop. hdfs. server. datanode. DataNode. secureMain (DataNode. java: 1734)
At org. apache. hadoop. hdfs. server. datanode. DataNode. main (DataNode. java: 1751)

17:19:22, 184 INFO org. apache. hadoop. hdfs. server. datanode. DataNode: SHUTDOWN_MSG:

This is a directory permission issue.

Mkdir/opt/dfs/
Chown-R hdfs: hadoop/opt/dfs/

Done.

Failed to start Hadoop datanode reload Solution

Datanode in Hadoop cannot start

Heartbeat mechanism between datanode and NameNode in Hadoop

An error occurred while starting namenode or datanode for HJadoop distributed environment deployment.

Distributed configuration of Hadoop 1.0.0 (one namenode and two datanode)

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.