hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 郝东 <donhof...@163.com>
Subject Can not execute failover for RM HA
Date Tue, 10 Feb 2015 10:42:08 GMT
I just set up ResourceManager HA. Both of the resourcemanagers started correctly. When I killed
the active one, the other became active. But when I used the following command to do a manual
failover, I got exceptions. I don't know what cause this problem. Could anyone help me ? Many

yarn rmadmin -failover rm1 rm2

Exception in thread "main" java.lang.UnsupportedOperationException: RMHAServiceTarget doesn't
have a corresponding ZKFC address
    at org.apache.hadoop.yarn.client.RMHAServiceTarget.getZKFCAddress(RMHAServiceTarget.java:51)
    at org.apache.hadoop.ha.HAServiceTarget.getZKFCProxy(HAServiceTarget.java:94)
    at org.apache.hadoop.ha.HAAdmin.gracefulFailoverThroughZKFCs(HAAdmin.java:315)
    at org.apache.hadoop.ha.HAAdmin.failover(HAAdmin.java:286)
    at org.apache.hadoop.ha.HAAdmin.runCmd(HAAdmin.java:453)
    at org.apache.hadoop.ha.HAAdmin.run(HAAdmin.java:382)
    at org.apache.hadoop.yarn.client.cli.RMAdminCLI.run(RMAdminCLI.java:318)
    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
    at org.apache.hadoop.yarn.client.cli.RMAdminCLI.main(RMAdminCLI.java:434)
View raw message