In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Hadoop download address
wget http://hadoop.f.dajiangtai.com/hadoop2.2/hadoop-2.2.0-x64.tar.gz
0, Create user useradd -m hadoop
1. Download hadoop and extract it
Assign roles to hadoop files
chown -R hadoop:hadoop hadoop
Group Name: Role Name File Name
3. ls -l View details Whether role assignment is successful
4. Create a directory of files required by hadoop
mkdir -p /data/dfs/name
mkdir -p /data/dfs/data
mkdir -p /data/tmp
5. Assign role permissions to your own user directory, such as hadoop users
chown -R hadoop:hadoop hadoop/data
6, ls -l Check whether the allocation is successful
7. Modify the hadoop configuration file
a、 core-site.xml
b、hdfs-site.xml
c、mapred-site.xml
8. Configure hadoop environment variables
9, Format hadoop bin/hadoop namenode -format
10. Start hadoop sbin/start-all.sh
11, jps check whether the process started
12, hdfs create directory
bin/hadoop fs -mkdir /dajiangtai
13. Add files to dajiangtai directory of hdfs
hadoop fs -put /usr/java/hadoop/djt.txt /dajiangtai
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.