You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by la...@apache.org on 2014/01/07 00:13:05 UTC
svn commit: r1556061 - in /hbase/branches/0.94/src:
main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
test/java/org/apache/hadoop/hbase/regionserver/TestRSKilledWhenInitializing.java
Author: larsh
Date: Mon Jan 6 23:13:05 2014
New Revision: 1556061
URL: http://svn.apache.org/r1556061
Log:
HBASE-10286 Revert HBASE-9593, breaks RS wildcard addresses
Removed:
hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/regionserver/TestRSKilledWhenInitializing.java
Modified:
hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
Modified: hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java?rev=1556061&r1=1556060&r2=1556061&view=diff
==============================================================================
--- hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java (original)
+++ hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java Mon Jan 6 23:13:05 2014
@@ -741,9 +741,6 @@ public class HRegionServer implements HR
}
try {
- // Set our ephemeral znode up in zookeeper now we have a name.
- createMyEphemeralNode();
-
// Try and register with the Master; tell it we are here. Break if
// server is stopped or the clusterup flag is down or hdfs went wacky.
while (keepLooping()) {
@@ -1090,6 +1087,8 @@ public class HRegionServer implements HR
this.conf.set("mapred.task.id", "hb_rs_" +
this.serverNameFromMasterPOV.toString());
}
+ // Set our ephemeral znode up in zookeeper now we have a name.
+ createMyEphemeralNode();
// Master sent us hbase.rootdir to use. Should be fully qualified
// path with file system specification included. Set 'fs.defaultFS'