标签:
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
标签:
原文地址:http://www.cnblogs.com/super-d2/p/4254014.html