HBASE-3805 Log RegionState that are processed too late in the master
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1096962 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
df94fbe4f8
commit
2769a5ffc8
|
@ -256,6 +256,7 @@ Release 0.90.3 - Unreleased
|
|||
HBASE-3795 Remove the "Cache hit for row" message
|
||||
HBASE-3580 Remove RS from DeadServer when new instance checks in
|
||||
HBASE-2470 Add Scan.setTimeRange() support in Shell (Harsh J Chouraria)
|
||||
HBASE-3805 Log RegionState that are processed too late in the master
|
||||
|
||||
TASKS
|
||||
HBASE-3748 Add rolling of thrift/rest daemons to graceful_stop.sh script
|
||||
|
|
|
@ -368,8 +368,13 @@ public class AssignmentManager extends ZooKeeperListener {
|
|||
}
|
||||
String encodedName = HRegionInfo.encodeRegionName(data.getRegionName());
|
||||
String prettyPrintedRegionName = HRegionInfo.prettyPrint(encodedName);
|
||||
// Printing if the event was created a long time ago helps debugging
|
||||
boolean lateEvent = data.getStamp() <
|
||||
(System.currentTimeMillis() - 15000);
|
||||
LOG.debug("Handling transition=" + data.getEventType() +
|
||||
", server=" + data.getServerName() + ", region=" + prettyPrintedRegionName);
|
||||
", server=" + data.getServerName() + ", region=" +
|
||||
prettyPrintedRegionName +
|
||||
(lateEvent? ", which is more than 15 seconds late" : ""));
|
||||
RegionState regionState = regionsInTransition.get(encodedName);
|
||||
switch (data.getEventType()) {
|
||||
case M_ZK_REGION_OFFLINE:
|
||||
|
|
Loading…
Reference in New Issue