HBASE-20745 Log when master proc wal rolls

This commit is contained in:
Michael Stack 2018-06-16 13:23:31 -07:00
parent 9bd98522f6
commit 21684a32fa
3 changed files with 3 additions and 5 deletions

View File

@ -1861,7 +1861,7 @@ public class ProcedureExecutor<TEnvironment> {
// WARN the worker is stuck
stuckCount++;
LOG.warn("Worker stuck {} run time {}", worker,
LOG.warn("Worker stuck {}, run time {}", worker,
StringUtils.humanTimeDiff(worker.getCurrentRunTime()));
}
return stuckCount;

View File

@ -1074,9 +1074,7 @@ public class WALProcedureStore extends ProcedureStoreBase {
". check running procedures to see if something is stuck.");
}
if (LOG.isDebugEnabled()) {
LOG.debug("Roll new state log: " + logId);
}
LOG.info("Rolled new Procedure Store WAL, id={}", logId);
return true;
}

View File

@ -135,7 +135,7 @@ public class AssignmentManager implements ServerListener {
public static final String RIT_CHORE_INTERVAL_MSEC_CONF_KEY =
"hbase.assignment.rit.chore.interval.msec";
private static final int DEFAULT_RIT_CHORE_INTERVAL_MSEC = 5 * 1000;
private static final int DEFAULT_RIT_CHORE_INTERVAL_MSEC = 60 * 1000;
public static final String ASSIGN_MAX_ATTEMPTS =
"hbase.assignment.maximum.attempts";