hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Gray" <jg...@apache.org>
Subject Re: Review Request: HBASE-2819 HBCK repair problems (new master remix)
Date Thu, 21 Oct 2010 00:47:11 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated 2010-10-20 17:47:11.597267)

Review request for hbase and stack.


Latest version against trunk.


Migration of latest HBCK patch made against old master by Alex.

I'm not sure this really makes sense anymore on the new master.  Dupe assignment and non-assignment
in the "traditional" cases should not happen anymore, at least not in the way it used to happen.

This is mostly a straight migration and adds stuff to clear things out of transition on master,
close a region on an RS w/o using ZK (already supported just exposed via rpc now), etc...

I don't think it hurts to have this code in there but mostly the detection code should be
used for now.  Once we trip over assignment issues / hbck fixable issues, we can add fixup
to this new stuff.

Can just rip out the repair for now but figured would be simpler just to leave it and continue
improving it rather than going back a step.

This addresses bug HBSAE-2819.

Diffs (updated)

  trunk/src/main/java/org/apache/hadoop/hbase/client/HBaseFsck.java 1025790 
  trunk/src/main/java/org/apache/hadoop/hbase/client/HBaseFsckRepair.java PRE-CREATION 
  trunk/src/main/java/org/apache/hadoop/hbase/ipc/HRegionInterface.java 1025790 
  trunk/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java 1025790 
  trunk/src/main/java/org/apache/hadoop/hbase/master/HMaster.java 1025790 
  trunk/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java 1025790 

Diff: http://review.cloudera.org/r/1036/diff




View raw message