Source file "org/apache/hadoop/ha/ActiveStandbyElector.java" was not found during generation of report.
Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods |
Total | 1,590 of 1,590 | 0% | 198 of 198 | 0% | 154 | 154 | 378 | 378 | 53 | 53 |
processWatchEvent(ZooKeeper, WatchedEvent) | ![]() | 0% | ![]() | 0% | 15 | 15 | 40 | 40 | 1 | 1 |
ensureParentZNode() | ![]() | 0% | ![]() | 0% | 7 | 7 | 22 | 22 | 1 | 1 |
processResult(int, String, Object, Stat) | ![]() | 0% | ![]() | 0% | 12 | 12 | 30 | 30 | 1 | 1 |
processResult(int, String, Object, String) | ![]() | 0% | ![]() | 0% | 10 | 10 | 29 | 29 | 1 | 1 |
ActiveStandbyElector(String, int, String, List, List, ActiveStandbyElector.ActiveStandbyElectorCallback, int, boolean) | ![]() | 0% | ![]() | 0% | 7 | 7 | 22 | 22 | 1 | 1 |
tryDeleteOwnBreadCrumbNode() | ![]() | 0% | ![]() | 0% | 4 | 4 | 13 | 13 | 1 | 1 |
clearParentZNode() | ![]() | 0% | ![]() | 0% | 2 | 2 | 8 | 8 | 1 | 1 |
reEstablishSession() | ![]() | 0% | ![]() | 0% | 4 | 4 | 16 | 16 | 1 | 1 |
fenceOldActive() | ![]() | 0% | ![]() | 0% | 3 | 3 | 14 | 14 | 1 | 1 |
joinElection(byte[]) | ![]() | 0% | ![]() | 0% | 4 | 4 | 11 | 11 | 1 | 1 |
terminateConnection() | ![]() | 0% | ![]() | 0% | 3 | 3 | 14 | 14 | 1 | 1 |
becomeActive() | ![]() | 0% | ![]() | 0% | 4 | 4 | 12 | 12 | 1 | 1 |
connectToZooKeeper() | ![]() | 0% | ![]() | 0% | 2 | 2 | 8 | 8 | 1 | 1 |
createConnection() | ![]() | 0% | ![]() | 0% | 3 | 3 | 11 | 11 | 1 | 1 |
writeBreadCrumbNode(Stat) | ![]() | 0% | ![]() | 0% | 3 | 3 | 6 | 6 | 1 | 1 |
parentZNodeExists() | ![]() | 0% | ![]() | 0% | 3 | 3 | 4 | 4 | 1 | 1 |
monitorLockNodeAsync() | ![]() | 0% | ![]() | 0% | 3 | 3 | 7 | 7 | 1 | 1 |
getActiveData() | ![]() | 0% | ![]() | 0% | 3 | 3 | 9 | 9 | 1 | 1 |
monitorActiveStatus() | ![]() | 0% | ![]() | 0% | 4 | 4 | 6 | 6 | 1 | 1 |
joinElectionInternal() | ![]() | 0% | ![]() | 0% | 4 | 4 | 9 | 9 | 1 | 1 |
isStaleClient(Object) | ![]() | 0% | ![]() | 0% | 2 | 2 | 6 | 6 | 1 | 1 |
toString() | ![]() | 0% | ![]() | 0% | 2 | 2 | 2 | 2 | 1 | 1 |
reJoinElection(int) | ![]() | 0% | ![]() | 0% | 2 | 2 | 9 | 9 | 1 | 1 |
zkDoWithRetries(ActiveStandbyElector.ZKAction, KeeperException.Code) | ![]() | 0% | ![]() | 0% | 4 | 4 | 6 | 6 | 1 | 1 |
quitElection(boolean) | ![]() | 0% | ![]() | 0% | 3 | 3 | 6 | 6 | 1 | 1 |
becomeStandby() | ![]() | 0% | ![]() | 0% | 2 | 2 | 5 | 5 | 1 | 1 |
enterNeutralMode() | ![]() | 0% | ![]() | 0% | 2 | 2 | 5 | 5 | 1 | 1 |
setAclsWithRetries(String) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
createLockNodeAsync() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
createWithRetries(String, byte[], List, CreateMode) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
ActiveStandbyElector(String, int, String, List, List, ActiveStandbyElector.ActiveStandbyElectorCallback, int) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
getDataWithRetries(String, boolean, Stat) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
setDataWithRetries(String, byte[], int) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
shouldRetry(KeeperException.Code, KeeperException.Code) | ![]() | 0% | ![]() | 0% | 3 | 3 | 1 | 1 | 1 | 1 |
static {...} | ![]() | 0% | ![]() | 0% | 2 | 2 | 3 | 3 | 1 | 1 |
createZooKeeper() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
fatalError(String) | ![]() | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | |
sleepFor(int) | ![]() | 0% | ![]() | 0% | 2 | 2 | 6 | 6 | 1 | 1 |
deleteWithRetries(String, int) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
shouldRetry(KeeperException.Code) | ![]() | 0% | ![]() | 0% | 3 | 3 | 1 | 1 | 1 | 1 |
getZKSessionIdForTests() | ![]() | 0% | ![]() | 0% | 2 | 2 | 3 | 3 | 1 | 1 |
isSuccess(KeeperException.Code) | ![]() | 0% | ![]() | 0% | 2 | 2 | 1 | 1 | 1 | 1 |
isNodeExists(KeeperException.Code) | ![]() | 0% | ![]() | 0% | 2 | 2 | 1 | 1 | 1 | 1 |
isNodeDoesNotExist(KeeperException.Code) | ![]() | 0% | ![]() | 0% | 2 | 2 | 1 | 1 | 1 | 1 |
isSessionExpired(KeeperException.Code) | ![]() | 0% | ![]() | 0% | 2 | 2 | 1 | 1 | 1 | 1 |
reset() | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
zkDoWithRetries(ActiveStandbyElector.ZKAction) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
reJoinElectionAfterFailureToBecomeActive() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
preventSessionReestablishmentForTests() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
allowSessionReestablishmentForTests() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
getHAZookeeperConnectionState() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
getStateForTests() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
isMonitorLockNodePending() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 |