HBASE-970 Update the copy/rename scripts to go against change API

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@708979 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2008-10-29 18:45:36 +00:00
parent 3b803714c5
commit f4d3ce3f65
3 changed files with 6 additions and 5 deletions

View File

@ -47,9 +47,10 @@ Release 0.19.0 - Unreleased
HBASE-954 Don't reassign root region until ProcessServerShutdown has split
the former region server's log
HBASE-957 PerformanceEvaluation tests if table exists by comparing descriptors
HBASE-728, HBASE-956, HBASE-955 Address thread naming, which threads are
Chores, vs Threads, make HLog manager the write ahead log and
not extend it to provided optional HLog sync operations.
HBASE-728, HBASE-956, HBASE-955 Address thread naming, which threads are
Chores, vs Threads, make HLog manager the write ahead log and
not extend it to provided optional HLog sync operations.
HBASE-970 Update the copy/rename scripts to go against change API
IMPROVEMENTS
HBASE-901 Add a limit to key length, check key and value length on client side

View File

@ -130,7 +130,7 @@ begin
LOG.info("Copying " + oldRDir.toString() + " as " + newRDir.toString())
FileUtil.copy(fs, oldRDir, fs, newRDir, false, true, c)
# Create 'new' region
newR = HRegion.new(rootdir, utils.getLog(), fs, c, newHRI, nil, nil)
newR = HRegion.new(rootdir, utils.getLog(), fs, c, newHRI, nil)
# Add new row. NOTE: Presumption is that only one .META. region. If not,
# need to do the work to figure proper region to add this new region to.
LOG.info("Adding to meta: " + newR.toString())

View File

@ -134,7 +134,7 @@ begin
LOG.info("Removing " + Bytes.toString(key.getRow()) + " from .META.")
metaRegion.deleteAll(key.getRow(), HConstants::LATEST_TIMESTAMP)
# Create 'new' region
newR = HRegion.new(rootdir, utils.getLog(), fs, c, newHRI, nil, nil)
newR = HRegion.new(rootdir, utils.getLog(), fs, c, newHRI, nil)
# Add new row. NOTE: Presumption is that only one .META. region. If not,
# need to do the work to figure proper region to add this new region to.
LOG.info("Adding to meta: " + newR.toString())