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 izaakrubin: http://wiki.apache.org/hadoop/Hbase/HowToMigrate The comment on the change is: Added more specifics about migrating from 0.1 to 0.2. ------------------------------------------------------------------------------ * Shut down the old instance of HBase. * If necessary, upgrade the underlying version of Hadoop to the version required by the new instance of HBase. Refer to the [http://wiki.apache.org/hadoop/Hadoop%20Upgrade Hadoop Upgrade] page. * Download and configure the new instance of HBase. Make sure you configure the ''hbase.rootdir'' of the new instance to be the same as that from the old instance. - * From the new instance of HBase, perform the HBase migration. Run ''%{HBASE_HOME}/bin/hbase migrate'' for usage. See the version-specific notes below for more specific information on this process. + * From the new instance of HBase, perform the HBase migration. Run {{{{$HBASE_HOME}/bin/hbase migrate}}} for usage. See the version-specific notes below for more specific information on this process. * Start the new instance of HBase. If you would like to learn more about the HBase Migration design, see [http://wiki.apache.org/hadoop/Hbase/Migration HBase Migration] @@ -16, +16 @@ === From 0.1.x to 0.2.x === - HBase 0.1 depends on Hadoop 0.16. HBase 0.2 depends on Hadoop 0.17 so first you will need to upgrade your version of Hadoop as part of this migration. + The following are step-by-step instructions for migrating from HBase 0.1 to 0.2. This migration requires an upgrade form Hadoop 0.16 to 0.17, although the [http://wiki.apache.org/hadoop/Hadoop%20Upgrade Hadoop Upgrade Instructions] are slightly out-of-date (as of this writing, July 2008). As such, the below instructions also clarify the necessary steps for upgrading Hadoop. - After the hadoop migration is complete, the actual migration command to be executed by the new HBase 0.2 instance is: + Assume Hadoop 0.16 and HBase 0.1 are already running with data you wish migrate to HBase 0.2. + * Stop HBase 0.1. + * From the [http://wiki.apache.org/hadoop/Hadoop%20Upgrade Hadoop Upgrade Instructions], perform steps 1-4 and 9-10 (and optionally 5-8, 11-12). + * Run {{{{$HADOOP_HOME}/bin/start-dfs.sh -upgrade}}} + * Perform Hadoop upgrade steps 16-19. + * Download and configure HBase 0.2. Make sure ''hbase.rootdir'' is configured to be the same as it was in HBase 0.1. + * Run {{{{$HBASE_HOME}/bin/hbase migrate update}}} + * Start HBase 0.2. - {{{{$HBASE_HOME}/bin/hbase migrate update}}} -
