摘要: 添加节点 1.修改host 和普通的datanode一样。添加namenode的ip2.修改namenode的配置文件conf/slaves 添加新增节点的ip或host3.在新节点的机器上,启动服务[root@slave-004 hadoop]# ./bin/hadoop-daemon.sh start datanode [root@slave-004 hadoop]# ./bin/hadoop-daemon.sh start tasktracker 4.均衡block[root@slave-004 hadoop]# ./bin/start-balancer.sh1)如果不balance,那 阅读全文
posted @ 2014-02-26 17:32 weian404 阅读(106) 评论(0) 推荐(0) 编辑
摘要: bin/start-balancer.sh -threshold *hdfs达到平衡状态的磁盘使用率偏差值。*值越低各节点越平衡,但消耗的时间越长。 阅读全文
posted @ 2014-02-26 17:25 weian404 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 开源中国 http://www.oschina.net/ 搜索地址:http://maven.oschina.net/index.html#welcome 镜像地址:http://maven.oschina.net/content/groups/public/ 阅读全文
posted @ 2014-02-26 17:06 weian404 阅读(108) 评论(0) 推荐(0) 编辑
摘要: ​ maven官网:http://maven.apache.org/1、下载mavenapachemavenx.x.xbin.tar.gz2、放到自定义的目录下,如/usr/local/apachemavenx.x.xbin.tar.gz 3、解压apachemavenx.x.xbin.tar.gz tar -xzvfapachemavenx.x.xbin.tar.gz 4、配置环境变量,修改/etc/profile文件 export MAVEN_HOME=/usr/local/apachemavenx.x.xbin.tar.gz export PATH=$PATH:$MAVEN_HO... 阅读全文
posted @ 2014-02-26 16:45 weian404 阅读(112) 评论(0) 推荐(0) 编辑