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 ------------------------------------------------------------------------------ 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). + * 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) on your instance of Hadoop 0.16. - * Run {{{{$HADOOP_HOME}/bin/start-dfs.sh -upgrade}}} + * Run {{{{$HADOOP_HOME_0.17}/bin/start-dfs.sh -upgrade}}} - * Perform Hadoop upgrade steps 16-19. + * Perform Hadoop upgrade steps 16-19 on your instance of Hadoop 0.17. - * Run {{{{$HADOOP_HOME}/bin/hadoop dfsadmin -finalizeUpgrade}}} + * Run {{{{$HADOOP_HOME_0.17}/bin/hadoop dfsadmin -finalizeUpgrade}}} * 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}}} + * Run {{{{$HBASE_HOME_0.2}/bin/hbase migrate update}}} * Start HBase 0.2. As you will notice, the [http://wiki.apache.org/hadoop/Hadoop%20Upgrade Hadoop Upgrade Instructions] (specifically steps 2-4, 16-18) ask you to generate several logs to compare and ensure that the upgrade ran correctly. I did notice some inconsistency in my logs between ''dfs-v-old-report-1.log'' and ''dfs-v-new-report-1.log''; specifically the ''Total effective bytes'' and ''Effective replication multiplier'' fields did not match (in the new log, the values reported were zero and infinity, respectively). Additionally, ''dfs-v-new-report-1.log'' claimed that the update was not finalized. Running {{{{$HADOOP_HOME}/bin/hadoop dfsadmin -finalizeUpgrade}}} resolves the second issue, finalizing the upgrade as expected. I could not find a way to resolve the inconsistencies with the ''Total effective bytes'' and ''Effective replication multiplier'' fields. Nonetheless, I found no problems with the migration and the data appeared to be completely intact.
