hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r708979 - in /hadoop/hbase/trunk: CHANGES.txt bin/copy_table.rb bin/rename_table.rb
Date Wed, 29 Oct 2008 18:45:36 GMT
Author: stack
Date: Wed Oct 29 11:45:36 2008
New Revision: 708979

URL: http://svn.apache.org/viewvc?rev=708979&view=rev
Log:
HBASE-970 Update the copy/rename scripts to go against change API

Modified:
    hadoop/hbase/trunk/CHANGES.txt
    hadoop/hbase/trunk/bin/copy_table.rb
    hadoop/hbase/trunk/bin/rename_table.rb

Modified: hadoop/hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/CHANGES.txt?rev=708979&r1=708978&r2=708979&view=diff
==============================================================================
--- hadoop/hbase/trunk/CHANGES.txt (original)
+++ hadoop/hbase/trunk/CHANGES.txt Wed Oct 29 11:45:36 2008
@@ -47,9 +47,10 @@
    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

Modified: hadoop/hbase/trunk/bin/copy_table.rb
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/bin/copy_table.rb?rev=708979&r1=708978&r2=708979&view=diff
==============================================================================
--- hadoop/hbase/trunk/bin/copy_table.rb (original)
+++ hadoop/hbase/trunk/bin/copy_table.rb Wed Oct 29 11:45:36 2008
@@ -130,7 +130,7 @@
           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())

Modified: hadoop/hbase/trunk/bin/rename_table.rb
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/bin/rename_table.rb?rev=708979&r1=708978&r2=708979&view=diff
==============================================================================
--- hadoop/hbase/trunk/bin/rename_table.rb (original)
+++ hadoop/hbase/trunk/bin/rename_table.rb Wed Oct 29 11:45:36 2008
@@ -134,7 +134,7 @@
           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())



Mime
View raw message