hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Trivial Update of "Hbase/HowToMigrate" by stack
Date Thu, 23 Jul 2009 20:49:27 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.

The following page has been changed by stack:
http://wiki.apache.org/hadoop/Hbase/HowToMigrate

------------------------------------------------------------------------------
  
  For example, to major compact the -ROOT-:
  
- {{{$ ./bin/hbase org.apache.hadoop.hbase.regionserver.HRegion hdfs://aa0-000-12:9002/hbasetrunk2/-ROOT-
major_compact}}}
+ {{{$ ./bin/hbase org.apache.hadoop.hbase.regionserver.HRegion hdfs://www.example.com:9000/hbasetrunk2/-ROOT-
major_compact}}}
  
  Don't forget the 'major_compact' off the end else it just lists out the content of the region.
  
@@ -98, +98 @@

  
  {{{$./bin/hadoop jar hbase-0.20.x.jar hsf2sf}}}
  
- This job takes an empty input and output directory.  It will first run through your filesystem
to find all mapfile to convert, write a file to the input directory and then startup the mapreduce
job to do the convertions.
+ This job takes an empty input and output directory.  It will first run through your filesystem
to find all mapfiles to convert, write a file to the input directory listing all files, and
then startup the mapreduce job to do the convertions.
  
- Now, run the hbase migration script.  If you have run the mapreduce job, it will notice
that all storefiles have been rewritten and will skip the rewrite step.  Otherwise, the migration
script first does this.
+ Now, run the hbase migration script.  If you have run the mapreduce job, it will notice
that all storefiles have been rewritten and will skip the rewrite step.  Otherwise, the migration
script first does this convertion.
  
  {{{$./bin/hbase migrate upgrade}}}
  

Mime
View raw message