In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Cdh address
Http://archive-primary.cloudera.com/cdh6/cdh/5/
Add sudo privileges to the password-free hadoop user # useradd hadoop# vi / etc/sudoers hadoop ALL= (root) NOPASSWD:ALL# su-hadoop download extract [hadoop@hadoop000 softwore] $wget http://archive-primary.cloudera.com/cdh6/cdh/5/hadoop-2.6.0-cdh6.7.0.tar.gz[hadoop@hadoop000 app] $tar-zxvf.. / softwore/hadoop-2.6.0-cdh6.7.0.tar. Gz to modify the configuration first requires jdk1.7 [root@hadoop000 jdk1.7.0_80] # echo $JAVA_HOME/usr/java/jdk1.7.0_80 to modify the etc/hadoop/hadoop-env.sh file in the hadoop-env.sh file to modify java_homeexport JAVA_HOME=/usr/java/jdk1.7.0_80 add HADOOP_PREFIXexport HADOOP_PREFIX=/home/hadoop/app/hadoop-2.6.0-cdh6.7.0 to modify etc/hadoop/core-site .xml: fs.defaultFS hdfs://hadoop:9000 modify etc/hadoop/hdfs-site.xml: dfs.replication 1 modify etc/slaves file hadoop configuration ssh secret-free delete .ssh folder to prevent conflicts # rm-rf .ssh generate ssh key # ssh-keygen-t dsa-P'- f ~ / .ssh/id_dsa# cat ~ / .ssh. Pub > > ~ / .ssh/authorized_keys modify authorized_keys file permissions chmod 600authorized_keys initial format hdfs
[hadoop@hadoop000 hadoop-2.6.0-cdh6.7.0] $bin/hdfs namenode-format
Start hdfs
[hadoop@hadoop000 hadoop-2.6.0-cdh6.7.0] $sbin/start-dfs.sh
Jps View process
Web ui View
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.