Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Start hadoop. Start-all.sh is missing the datanode process

2025-04-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

1) modify the namespaceID of each Slave to be consistent with the namespaceID of Master.

Or

2) modify the namespaceID of Master to be consistent with the namespaceID of Slave.

The "namespaceID" is located in the "/ usr/hadoop/tmp/dfs/data/current/VERSION" file, and the blue one in front of it may change according to the actual situation, but the red in the back is the same.

For example: view the "VERSION" file under "Master"

View the error log to visit http://localhost:50070, click the Namenode logs link on the page, and click the hadoop-hadoop-datanode-ubuntu.log link on the logs page.

This prompt is found in the log: Invalid directory in dfs.data.dir: Incorrect permission for / usr/local/hadoop/hdfs/data, expected: rwxr-xr-x, while actual: rwxr-xrwx. The reason is the problem of data folder permissions. Execute: chmod GMurw / usr/local/hadoop/hdfs/data. After modifying the folder permissions, start Hadoop again to solve the problem.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report