[
https://issues.apache.org/jira/browse/HBASE-11915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14181020#comment-14181020
]
stack commented on HBASE-11915:
-------------------------------
Let me add an addendum. Testing on a cluster I get this when I do -execute of
the migration:
{code}
2014-10-22 21:30:25,149 WARN [main] util.FSUtils: Unable to create version
file at hdfs://c2020.halxg.cloudera.com:8020/hbase, retrying
java.io.IOException: Unable to move temp version file to
hdfs://c2020.halxg.cloudera.com:8020/hbase/hbase.version
at org.apache.hadoop.hbase.util.FSUtils.setVersion(FSUtils.java:644)
at org.apache.hadoop.hbase.util.FSUtils.setVersion(FSUtils.java:599)
at
org.apache.hadoop.hbase.migration.NamespaceUpgrade.upgradeTableDirs(NamespaceUpgrade.java:151)
at
org.apache.hadoop.hbase.migration.NamespaceUpgrade.run(NamespaceUpgrade.java:562)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
at
org.apache.hadoop.hbase.migration.UpgradeTo96.executeTool(UpgradeTo96.java:221)
at
org.apache.hadoop.hbase.migration.UpgradeTo96.executeUpgrade(UpgradeTo96.java:211)
at
org.apache.hadoop.hbase.migration.UpgradeTo96.run(UpgradeTo96.java:133)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
at
org.apache.hadoop.hbase.migration.UpgradeTo96.main(UpgradeTo96.java:257)
2014-10-22 21:30:25,164 INFO [main] hdfs.DFSClient: checksum=CRC32C
{code}
It is actually harmless case of TMI but it took me a minute or two to figure
that so lets spare the poor operator.
Small patch. i tested it works on a new migration.
I started a 0.94 on a hadoop 2.6.0-SNAPSHOT. I inserted some data. Shut it
down. Installed a branch-1 build. Ran upgrade -check then upgrade -execute.
Then was able to start up the 0.99 over the 0.94 data.
Need to try and see what breaks when we run an application against 0.94 and
then 1.0 but that is another issue.
> Document and test 0.94 -> 1.0.0 update
> --------------------------------------
>
> Key: HBASE-11915
> URL: https://issues.apache.org/jira/browse/HBASE-11915
> Project: HBase
> Issue Type: Sub-task
> Reporter: Enis Soztutar
> Assignee: stack
> Priority: Critical
> Fix For: 0.99.2
>
> Attachments: 11915.txt, upgrade.txt
>
>
> We explicitly did not remove some of the upgrade related stuff in branch-1
> for the possibility of supporting 0.94 -> 1.0, similar to 0.94 -> 0.98
> support.
> We should document, and test this support before 1.0 comes.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)