首页 > 代码库 > hadoop安装

hadoop安装

wget http://mirror.bjtu.edu.cn/apache/hadoop/core/hadoop-2.6.0/hadoop-2.6.0.tar.gz

技术分享

tar -xf hadoop-2.6.0.tar.gz

export HADOOP_INSTALL=/home/zcw/hadoop-2.6.0

export PATH=$PATH:$HADOOP_INSTALL/bin

技术分享

至此Hadoop已经安装成功了

格式化HDFS:

cd /home/zcw/hadoop-2.6.0/bin

hadoop namenode –format

技术分享

cd /home/zcw/hadoop-2.6.0/sbin

 

hadoop安装