摘要: hadoop.security.authorization false Is service-level authorization enabled?注释: hadoop.security.authentication simple Possible values are simple (no authentication), and kerberos 注释: hadoop.security.group.mapping org.apache.hadoop.security.ShellBasedUnixGroupsMapping Class for user to ... 阅读全文
posted @ 2014-03-06 17:26 weian404 阅读(232) 评论(0) 推荐(0) 编辑
摘要: hadoop.common.configuration.version 0.23.0 version of this configuration file注释:配置文件的版本 hadoop.tmp.dir /tmp/hadoop-${user.name} A base for other temporary directories.注释:其它临时目录的根目录,其它参数通过${hadoop.tmp.dir}进行引用。 io.native.lib.available true Should native hadoop libraries, if present, be used... 阅读全文
posted @ 2014-02-27 17:40 weian404 阅读(134) 评论(0) 推荐(0) 编辑
摘要: # Set Hadoop-specific environment variables here.# The only required environment variable is JAVA_HOME. All others are# optional. When running a distributed configuration it is best to# set JAVA_HO... 阅读全文
posted @ 2014-02-27 16:30 weian404 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 本文章为bing翻译官网英文文档的结果后经手动修改后的结果。原文地址:http://hadoop.apache.org/docs/r1.2.1/cluster_setup.html目的本文档描述了如何安装、 配置和管理完全分布式 Hadoop 集群从几个节点到数千个节点的群集。要使用 Hadoop,可能首先要在一台机器上安装 Hadoop (见单个节点安装). 系统必备组件请确保您的群集中的所有节... 阅读全文
posted @ 2014-02-27 15:27 weian404 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 添加节点 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) 编辑