02_hadoop installation

Original link: http://www.cnblogs.com/venicidd/p/10747592.html

installation

 

1, takes

 tar -zxvf hadoop-2.6.0.tar.gz

 

2. Set the environment variables    ( 3 and all of need)

$  vim /etc/profile

Added to the end

export HADOOP_HOME=/opt/hadoop-2.6.0

export PATH=.:$HADOOP_HOME/bin:$JAVA_HOME/bin:$PATH

export HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_HOME/lib/native

export HADOOP_OPTS="-Djava.library.path=$HADOOP_HOME/lib/native"

 

 

3、hadoop version

 

 

 

Configuration hadoop01 only this or other configuration is also configured? ? ? ? ? ? ? ? ? ? ? ? ? ? ?

1, mkdir hadoop_repo # temporary file

[root@hadoop01 hadoop-2.6.0]# mkdir hadoop_repo

2, ftp upload the configuration file upload only hadoop01

  Some file overwrites

 

 

Hdfs file system format

 

 

 

Start hadoop

 

 

 

 

 

 

 

 

 

 

 

 

 

  

 

Reproduced in: https: //www.cnblogs.com/venicidd/p/10747592.html

Guess you like

Origin blog.csdn.net/weixin_30438813/article/details/94818580