HADOOP 2.0 两个NAMENODE的安装问题
nb2sfc
2012-06-27
本人环境,4台机器LINUX 版本为 hadoop 2.0 aph 2台NAMENODE, 2台DATANODE
在执行 start-dfs.sh时 提示这个 2012-06-25 22:37:35,666 WARN impl.MetricsConfig (MetricsConfig.java:loadFirst(125)) - Cannot locate configuration: tried hadoop-metrics2-namenode.properties,hadoop-metrics2.properties 这是 哪 配置的错误呢? 或者 介绍个 多个NAMENODE安装的文档,非常感谢!! 这个是 hdfs-site 的配置 <configuration> <property> <name>dfs.namenode.name.dir</name> <value>file:/usr/hadoop/hdfs/name</value> <final>true</final> </property> <property> <name>dfs.federation.nameservices</name> <value>ns1,ns2</value> </property> <property> <name>dfs.namenode.rpc-address.ns1</name> <value>master1:9000</value> </property> <property> <name>dfs.namenode.rpc-address.ns2</name> <value>master2:9000</value> </property> <property> <name>dfs.namenode.http-address.ns1</name> <value>master1:23001</value> </property> <property> <name>dfs.namenode.http-address.ns2</name> <value>master2:13001</value> </property> <property> <name>dfs.dataname.data.dir</name> <value>file:/usr/hadoop/hdfs/data</value> <final>true</final> </property> <property> <name>dfs.namenode.secondary.http-address.ns1</name> <value>master1:23002</value> </property> <property> <name>dfs.namenode.secondary.http-address.ns2</name> <value>master2:23002</value> </property> <property> <name>dfs.namenode.secondary.http-address.ns1</name> <value>master1:23003</value> </property> <property> <name>dfs.namenode.secondary.http-address.ns2</name> <value>master2:23003</value> </property> <property> <name>dfs.replication</name> <value>1</value> </property> <property> <name>dfs.permissions</name> <value>false</value> </property> </configuration> |
|
cspider
2012-07-18
我给个文档吧:
http://hadoop.apache.org/common/docs/r0.23.0/hadoop-yarn/hadoop-yarn-site/Federation.html |