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

The comment on the change is:
Fix suggested by Cosmin Lehene

------------------------------------------------------------------------------
   * Perform Hadoop upgrade steps 16-19 on your instance of Hadoop 0.17.
   * 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_0.2}/bin/hbase migrate update}}}
+  * Run {{{{$HBASE_HOME_0.2}/bin/hbase migrate upgrade}}}
   * 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.

Reply via email to