/[Apache-SVN]
ViewVC logotype

Revision 643223


Jump to revision: Previous Next
Author: stack
Date: Tue Apr 1 00:09:25 2008 UTC (16 years, 6 months ago)
Changed paths: 10
Log Message:
HBASE-505 Region assignments should never time out so long as the region
server reports that it is processing the open request

This is patch reviewed with Jim but with the number of edits between
reports made into a configurable.

Have the HRegionServer pass down a Progressable implementation down into
Region and then down int Store where edits are replayed. Call progress
after every couple of thousand edits.

M src/java/org/apache/hadoop/hbase/HStore.java
  Take a Progessable in the constructor. Call it when applying edits.
M src/java/org/apache/hadoop/hbase/HMaster.java
  Update commment around MSG_REPORT_PROCESS_OPEN so its expected
  that we can get more than one of these messages during a region open.
M src/java/org/apache/hadoop/hbase/HRegion.java
  New constructor that takes a Progressable. Pass it to Stores on construction.
M src/java/org/apache/hadoop/hbase/HRegionServer.java
  On open of a region, pass in a Progressable that adds a
MSG_REPORT_PROCESS_OPEN every time its called.


Changed paths

Path Details
Directoryhadoop/hbase/branches/0.1/CHANGES.txt modified , text changed
Directoryhadoop/hbase/branches/0.1/src/java/org/apache/hadoop/hbase/HMaster.java modified , text changed
Directoryhadoop/hbase/branches/0.1/src/java/org/apache/hadoop/hbase/HRegion.java modified , text changed
Directoryhadoop/hbase/branches/0.1/src/java/org/apache/hadoop/hbase/HRegionServer.java modified , text changed
Directoryhadoop/hbase/branches/0.1/src/java/org/apache/hadoop/hbase/HStore.java modified , text changed
Directoryhadoop/hbase/trunk/CHANGES.txt modified , text changed
Directoryhadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/master/RegionManager.java modified , text changed
Directoryhadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HRegion.java modified , text changed
Directoryhadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java modified , text changed
Directoryhadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HStore.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26