hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mbau...@apache.org
Subject svn commit: r1381584 - /hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/master/ZKUnassignedWatcher.java
Date Thu, 06 Sep 2012 12:51:49 GMT
Author: mbautin
Date: Thu Sep  6 12:51:48 2012
New Revision: 1381584

URL: http://svn.apache.org/viewvc?rev=1381584&view=rev
Log:
[master] Better log message on receiving ZK unassigned events

Author: mbautin

Summary: We are trying to diagnose a bug when a NodeCreated event caused by the OFFLINE node
being created in the unassigned region ZK directory triggers a region state transition event,
and then a NodeDataChanged event triggers a duplicate instance of the same event. This requires
better logging of the ZK event that triggered a region state transition event.

Test Plan: Failure testing on a cluster

Reviewers: aaiyer

Reviewed By: aaiyer

Differential Revision: https://reviews.facebook.net/D5115

Modified:
    hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/master/ZKUnassignedWatcher.java

Modified: hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/master/ZKUnassignedWatcher.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/master/ZKUnassignedWatcher.java?rev=1381584&r1=1381583&r2=1381584&view=diff
==============================================================================
--- hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/master/ZKUnassignedWatcher.java
(original)
+++ hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/master/ZKUnassignedWatcher.java
Thu Sep  6 12:51:48 2012
@@ -188,7 +188,8 @@ public class ZKUnassignedWatcher impleme
     }
 
     HBaseEventType rsEvent = HBaseEventType.fromByte(data[0]);
-    LOG.debug("Got event type [ " + rsEvent + " ] for region " + region);
+    LOG.debug("Got event type [ " + rsEvent + " ] for region " + region +
+        " triggered by " + eventType);
 
     RegionTransitionEventData rt = new RegionTransitionEventData();
     Writables.getWritable(data, rt);



Mime
View raw message