In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Execute the command / opt/modules/app/hadoop-2.7.4/sbin/start-all.sh on the primary node machine (equivalent to / opt/modules/app/hadoop-2.5.0/sbin/start-dfs.sh and / opt/modules/app/hadoop-2.5.0/sbin/start-yarn.sh)
Then jps found that there was no namenode and checked the logs log.
Found that namenode was not formatted
So execute the command to format the namenode node, and note that all the files under the original NameNode and DataNode must be deleted each time, otherwise an error will be reported. The directories where NameNode and DataNode are located are configured with hadoop.tmp.dir, dfs.namenode.name.dir and dfs.datanode.data.dir attributes in core-site.xml.
/ opt/modules/app/hadoop-2.7.4/sbin/start-all.sh
Then check to see if there are any new files in the tmp directory (my namenode has been reformatted several times before the new file appears), as shown in the figure
. . . Once upon a time, horses and carriages were slow, letters were far away, and there was only one person I could love all my life.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.