|
@@ -546,7 +546,7 @@ public class ZKRMStateStore extends RMStateStore {
|
|
appState.attempts.put(attemptState.getAttemptId(), attemptState);
|
|
appState.attempts.put(attemptState.getAttemptId(), attemptState);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- LOG.info("Done Loading applications from ZK state store");
|
|
|
|
|
|
+ LOG.debug("Done Loading applications from ZK state store");
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|
|
@@ -579,7 +579,7 @@ public class ZKRMStateStore extends RMStateStore {
|
|
} else {
|
|
} else {
|
|
createWithRetries(nodeUpdatePath, appStateData, zkAcl,
|
|
createWithRetries(nodeUpdatePath, appStateData, zkAcl,
|
|
CreateMode.PERSISTENT);
|
|
CreateMode.PERSISTENT);
|
|
- LOG.info(appId + " znode didn't exist. Created a new znode to"
|
|
|
|
|
|
+ LOG.debug(appId + " znode didn't exist. Created a new znode to"
|
|
+ " update the application state.");
|
|
+ " update the application state.");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -622,7 +622,7 @@ public class ZKRMStateStore extends RMStateStore {
|
|
} else {
|
|
} else {
|
|
createWithRetries(nodeUpdatePath, attemptStateData, zkAcl,
|
|
createWithRetries(nodeUpdatePath, attemptStateData, zkAcl,
|
|
CreateMode.PERSISTENT);
|
|
CreateMode.PERSISTENT);
|
|
- LOG.info(appAttemptId + " znode didn't exist. Created a new znode to"
|
|
|
|
|
|
+ LOG.debug(appAttemptId + " znode didn't exist. Created a new znode to"
|
|
+ " update the application attempt state.");
|
|
+ " update the application attempt state.");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -671,7 +671,7 @@ public class ZKRMStateStore extends RMStateStore {
|
|
if (existsWithRetries(nodeRemovePath, true) != null) {
|
|
if (existsWithRetries(nodeRemovePath, true) != null) {
|
|
opList.add(Op.delete(nodeRemovePath, -1));
|
|
opList.add(Op.delete(nodeRemovePath, -1));
|
|
} else {
|
|
} else {
|
|
- LOG.info("Attempted to delete a non-existing znode " + nodeRemovePath);
|
|
|
|
|
|
+ LOG.debug("Attempted to delete a non-existing znode " + nodeRemovePath);
|
|
}
|
|
}
|
|
doMultiWithRetries(opList);
|
|
doMultiWithRetries(opList);
|
|
}
|
|
}
|
|
@@ -688,7 +688,7 @@ public class ZKRMStateStore extends RMStateStore {
|
|
// in case znode doesn't exist
|
|
// in case znode doesn't exist
|
|
addStoreOrUpdateOps(
|
|
addStoreOrUpdateOps(
|
|
opList, rmDTIdentifier, renewDate, latestSequenceNumber, false);
|
|
opList, rmDTIdentifier, renewDate, latestSequenceNumber, false);
|
|
- LOG.info("Attempted to update a non-existing znode " + nodeRemovePath);
|
|
|
|
|
|
+ LOG.debug("Attempted to update a non-existing znode " + nodeRemovePath);
|
|
} else {
|
|
} else {
|
|
// in case znode exists
|
|
// in case znode exists
|
|
addStoreOrUpdateOps(
|
|
addStoreOrUpdateOps(
|
|
@@ -770,7 +770,7 @@ public class ZKRMStateStore extends RMStateStore {
|
|
if (existsWithRetries(nodeRemovePath, true) != null) {
|
|
if (existsWithRetries(nodeRemovePath, true) != null) {
|
|
doMultiWithRetries(Op.delete(nodeRemovePath, -1));
|
|
doMultiWithRetries(Op.delete(nodeRemovePath, -1));
|
|
} else {
|
|
} else {
|
|
- LOG.info("Attempted to delete a non-existing znode " + nodeRemovePath);
|
|
|
|
|
|
+ LOG.debug("Attempted to delete a non-existing znode " + nodeRemovePath);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -823,7 +823,7 @@ public class ZKRMStateStore extends RMStateStore {
|
|
case Expired:
|
|
case Expired:
|
|
// the connection got terminated because of session timeout
|
|
// the connection got terminated because of session timeout
|
|
// call listener to reconnect
|
|
// call listener to reconnect
|
|
- LOG.info("Session expired");
|
|
|
|
|
|
+ LOG.info("ZKRMStateStore Session expired");
|
|
createConnection();
|
|
createConnection();
|
|
break;
|
|
break;
|
|
default:
|
|
default:
|