In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
1. Download hadoop-2.5.1 and store the root directory
two。 Decompress by tar-zxvf package name
3. Use the mv command to move the extracted hadoop package to / home
4. Modify the hadoop-en.sh configuration file and add the installation directory for jdk, as shown in the following figure
5. Modify the core-site.xml configuration file to add configuration information for namenode
6. Modify the hdfs-site.xml configuration file to add configuration information for secondarynamenode
7. Modify the slaves configuration file to add configuration information for the datanode node
8. Hostname of the secondarynode that configures masters
9. Copy the installation directory hadoop on node1 to another node
10. Copy the hosts file on node1 to the directory / etc/hosts where the hosts file is located on the other node
11. Add the installation directory of hadoop to the system environment variable
twelve。 Copy the environment variable file. bash_profile to another node
13. Reload bash_profile on node1
14. Format the namenode node through hdfs namenode-format (node1 is the namenode node)
15. Start hadoop with the start-dfs.sh command
16. Access the monitoring page of namenode through http://192.168.2.136:50070/ (192.168.2.136 is node1)
17. Access the monitoring page of secondarynamenode through http://192.168.2.137:50090 (192.168.2.137 is node2)
18. Note: before installation, check whether the jdk version matches the hadoop to check whether the node time is consistent, and the time difference is no more than 30 seconds. The simple installation and configuration of this hadoop is completed. The author uses a virtual machine here to install these environments node1 installation namenode nodes node2 installation secondarynamenode nodes node3 installation datanode nodes node4 installation datanode nodes node5 installation datanode nodes
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.