Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Hadoop2.6-CDH5.7 deployment installation

Shulou Source: shulou.com Published: 2022-06-03 06:59:49 11月23日 Update

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

Tags: Files permissions configurations addresses passwords folders formats users processes conflicts build Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology OPPO Reno NVidia Shulou Information Docker