hadoop - hdfs HA 请参考:dfs HA
服务规划:
hostname | ip | zookeeper | hdfs | journalnode | rm | zkfc |
node03 | 192.168.0.3 | master | datanode | *:8088 | ||
node04 | 192.168.0.4 | follower | datanode | *:8485 | ||
node05 | 192.168.0.5 | follower | datanode | *:8485 | ||
node06 | 192.168.0.6 | datanode | *:8485 | *:8088 | ||
node07 | 192.168.0.7 | namenode:8082(rpc)/50070(http) | * | |||
node08 | 192.168.0.8 | namenode:8082/50070 | *< |