In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how to install and deploy Hadoop under Ubuntu. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.
one。 Preparation of the environment:
OS:Linux (Ubuntu14)
JDK:jdk-7u80-linux-x64.tar.gz (version JDK1.7 64-Bit)
Hadoop:hadoop-2.6.4.tar.gz (pseudo-distributed)
two。 View ip, hosts and hostname under the system and modify them
1. View IP:
two。 View hosts and hostname:
Third, the installation and environment configuration of JDK
1. Put the two compressed packages under Desktop under Ubuntu, as follows:
two。 Create a mysoftware folder under / root
3. And extract the package to the file directory
4. Grant permissions and change permissions:
5. Configure environment variables
6. Make the environment effective, and let the system use its own installed JDK by default (here JDK is actually installed and used by default, skillfully do it again)
Four: install and deploy Hadoop:
1. Enter the directory structure and pay attention to the configuration files that need to be modified:
two。 For convenience, copy the mapred-site.xml file:
3. Modify the hadoop-env.sh file:
4. Modify the core-site.xml file:
5. Modify the hdfs-site.xml file:
6. Modify the mapred-site.xml file:
7. Modify the yarn-site.xml file:
8. Modify the slaves file:
9. Before formatting, make sure to use the default installed JDK:
10. Then format the hdfs file system:
11. Start hadoop service 1:
12.. Check whether the hadoop startup is successful:
Browser-side view:
This is the end of the article on "how to install and deploy Hadoop under Ubuntu". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.
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.