[
https://issues.apache.org/jira/browse/HBASE-8348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13739870#comment-13739870
]
Himanshu Vashishtha commented on HBASE-8348:
--------------------------------------------
This is great. I was thinking of having a Upgrade class (as Stack suggested)
and let it do all the leg work (call various migrate tools and stuff). Either
works.
So, we just stop the upgrade in case of error in any of the above steps? Yes,
options for upgrading different components would be great.
Yes, HFileV1Detector tool should be run first and then if there are any
HFileV1, prompt a message for compacting those regions.
I don't think we should delete the hbase.id file. It could have issues with
cyclic replication, for example, where we detect the origin of an edit by its
cluster id. I hit HBASE-9177 last night when doing the upgrade where we read
and write cluster id differently in 94 and trunk (write utf, but do readFully).
I will review the patch there.
> Polish the migration to 0.96
> ----------------------------
>
> Key: HBASE-8348
> URL: https://issues.apache.org/jira/browse/HBASE-8348
> Project: HBase
> Issue Type: Bug
> Affects Versions: 0.95.0
> Reporter: Jean-Daniel Cryans
> Assignee: rajeshbabu
> Priority: Critical
> Fix For: 0.95.2
>
> Attachments: HBASE-8348_trunk.patch, HBASE-8348_trunk_v2.patch,
> HBASE-8348_trunk_v3.patch
>
>
> Currently, migration works but there's still a couple of rough edges:
> - HBASE-8045 finished the .META. migration but didn't remove ROOT, so it's
> still on the filesystem.
> - Data in ZK needs to be removed manually. Either we fix up the data in ZK
> or we delete it ourselves.
> - TestMetaMigrationRemovingHTD has a testMetaUpdatedFlagInROOT method, but
> ROOT is gone now.
> Elliott was also mentioning that we could have "hbase migrate" do the HFileV1
> checks, clear ZK, remove ROOT, etc.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira