我使用的是CDH6版本,开源版类似。
/etc/hadoop/conf/hdfs-site.xml
hdfs-site.xml中配置了HA

通过以下命令查看两个namenode的状态:
hdfs haadmin -getServiceState namenode202
hdfs haadmin -getServiceState namenode177
例子:判断namenode的状态做distcp操作

我使用的是CDH6版本,开源版类似。
/etc/hadoop/conf/hdfs-site.xml
hdfs-site.xml中配置了HA

通过以下命令查看两个namenode的状态:
hdfs haadmin -getServiceState namenode202
hdfs haadmin -getServiceState namenode177
例子:判断namenode的状态做distcp操作

1292
1295
2110
2230

被折叠的 条评论
为什么被折叠?