HBASE-19120 IllegalArgumentException from ZNodeClearer when master shuts down
This commit is contained in:
parent
91273e7b0e
commit
f10f4eb121
|
@ -183,7 +183,7 @@ public class ZNodeClearer {
|
|||
znodeFileContent = ZNodeClearer.readMyEphemeralNodeOnDisk();
|
||||
if(ZNodeClearer.tablesOnMaster(conf)) {
|
||||
//In case of master crash also remove rsZnode since master is also regionserver
|
||||
ZKUtil.deleteNodeFailSilent(zkw, znodeFileContent);
|
||||
ZKUtil.deleteNodeFailSilent(zkw, ZKUtil.joinZNode(zkw.znodePaths.rsZNode,znodeFileContent));
|
||||
return MasterAddressTracker.deleteIfEquals(zkw,
|
||||
ZNodeClearer.parseMasterServerName(znodeFileContent));
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue