HBASE-4323 Add debug logging when AssignmentManager can't make a plan for a region.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1164277 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
04685c2b31
commit
5af490cb6b
|
@ -527,6 +527,8 @@ Release 0.90.5 - Unreleased
|
|||
cases (todd)
|
||||
HBASE-4276 AssignmentManager debug logs should be at INFO level for
|
||||
META/ROOT regions (todd)
|
||||
HBASE-4323 Add debug logging when AssignmentManager can't make a plan
|
||||
for a region (todd)
|
||||
|
||||
Release 0.90.4 - August 10, 2011
|
||||
|
||||
|
|
|
@ -1236,7 +1236,11 @@ public class AssignmentManager extends ZooKeeperListener {
|
|||
return;
|
||||
}
|
||||
RegionPlan plan = getRegionPlan(state, forceNewPlan);
|
||||
if (plan == null) return; // Should get reassigned later when RIT times out.
|
||||
if (plan == null) {
|
||||
debugLog(state.getRegion(),
|
||||
"Unable to determine a plan to assign " + state);
|
||||
return; // Should get reassigned later when RIT times out.
|
||||
}
|
||||
try {
|
||||
debugLog(state.getRegion(),
|
||||
"Assigning region " + state.getRegion().getRegionNameAsString() +
|
||||
|
|
Loading…
Reference in New Issue