/[Apache-SVN]
ViewVC logotype

Revision 678208


Jump to revision: Previous Next
Author: jimk
Date: Sat Jul 19 19:18:15 2008 UTC (16 years, 3 months ago)
Changed paths: 11
Log Message:
HBASE-679 Regionserver addresses are still not right in the new tables page

Passed all regression tests and PerformanceEvaluation running with multiple region servers. table.jsp now displays the correct information

HRegionInfo:
- removed getTableNameFromRegionName and parseMetaRegionRow we have the information in the meta table, just use it.

HServerInfo:
- I had originally made some changes here but removed them. The only remaining changes are javadoc

MetaScanner:
- build region name using ZEROES instead of NINES. When you scan you need a row name that sorts before the first row rather than after the last row.
- scan using COLUMN_FAMILY_ARRAY instead of COL_REGIONINFO_ARRAY. This way you also get the server name and start code
- change api for MetaScannerVisitor so that processRow only gets the RowResult. If you have the RowResult you have everything you need.

HConnectionManager:
- change listTables' MetaScannerVisitor to conform to new processRow api

HTable:
- change getStartKeys' MetaScannerVisitor to conform to new processRow api
- getRegionsInfo: use new processRow api, and get the server address out of the RowResult, rather than relying on the one that is cached in HConnectionManager

ScannerCallable:
- make constructor public, add javadoc

HMaster
- change createTable to get the HRegionInfo out of the RowResult and compare table name from HRegionInfo with that in the HRegionInfo of the table being created, instead of parsing the table name out of the row

TestHTable
- modify test's MetaScannerVisitor to conform to the new processRow api

TestHRegionInfo
- remove testParse as parse method no longer exists

table.jsp
- change catch of IOException to catch Exception and print stack trace. At least you'll be able to see why the server crashes if it does.


Changed paths

Path Details
Directoryhadoop/hbase/trunk/CHANGES.txt modified , text changed
Directoryhadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/HRegionInfo.java modified , text changed
Directoryhadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/HServerInfo.java modified , text changed
Directoryhadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java modified , text changed
Directoryhadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HTable.java modified , text changed
Directoryhadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/MetaScanner.java modified , text changed
Directoryhadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/ScannerCallable.java modified , text changed
Directoryhadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/master/HMaster.java modified , text changed
Directoryhadoop/hbase/trunk/src/test/org/apache/hadoop/hbase/client/TestHTable.java modified , text changed
Directoryhadoop/hbase/trunk/src/test/org/apache/hadoop/hbase/regionserver/TestHRegionInfo.java modified , text changed
Directoryhadoop/hbase/trunk/src/webapps/master/table.jsp modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26