标签:res active daemon 重定向 code art 手动 hadoop2 stand
hadoop2.x以后, 计算框架放在在yarn上
<property> <name>yarn.resourcemanager.ha.enabled</name> <value>true</value> </property> <property> <name>yarn.resourcemanager.cluster-id</name> <value>yarncluster</value> </property> <property> <name>yarn.resourcemanager.ha.rm-ids</name> <value>rm1,rm2</value> </property> <property> <name>yarn.resourcemanager.hostname.rm1</name> <value>192.168.208.106</value> </property> <property> <name>yarn.resourcemanager.hostname.rm2</name> <value>192.168.208.107</value> </property> <property> <name>yarn.resourcemanager.zk-address</name> <value>192.168.208.106:2181,192.168.208.107:2181,192.168.208.108:2181</value> </property>
<property> <name>mapreduce.framework.name</name> <value>yarn</value> </property>
<property> <name>yarn.nodemanager.aux-services</name> <value>mapreduce_shuffle</value> </property>
NodeManager 和 Datanode在一块, 不需要配置, 自动分辨并启动
start-yarn.sh
yarn-daemon.sh start resourcemanager
打开standby, 会立马重定向到active
start-all.sh
标签:res active daemon 重定向 code art 手动 hadoop2 stand
原文地址:http://www.cnblogs.com/wenbronk/p/6659481.html