« Return to Thread: [jira] Created: (HADOOP-2668) [hbase] After 2643, cluster won't start if FS was created by an older hbase version

[jira] Commented: (HADOOP-2668) [hbase] Documentation and improved logging so fact that hbase now requires migration comes as less of a surprise

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View in Thread


    [ https://issues.apache.org/jira/browse/HADOOP-2668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12560780#action_12560780 ]

stack commented on HADOOP-2668:
-------------------------------

I removed the hbase dir completely.  Restarted.  Came up nice.  Shut it down.  Remove the hbase.version and .hbase.version.crc.  Tried to start it.  It complained no version file.  Run migration.  I did and it made following emissions:

{code}

08/01/19 23:17:56 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:60000. Already tried 1 time(s).08/01/19 23:17:57 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:60000. Already tried 2 time(s).08/01/19 23:17:58 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:60000. Already tried 3 time(s).08/01/19 23:17:59 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:60000. Already tried 4 time(s).08/01/19 23:18:00 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:60000. Already tried 5 time(s).08/01/19 23:18:01 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:60000. Already tried 6 time(s).08/01/19 23:18:02 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:60000. Already tried 7 time(s).08/01/19 23:18:03 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:60000. Already tried 8 time(s).08/01/19 23:18:04 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:60000. Already tried 9 time(s).08/01/19 23:18:05 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:60000. Already tried 10 time(s).08/01/19 23:18:06 INFO util.Migrate: unrecognized file -ROOT- ignoring08/01/19 23:18:06 INFO util.Migrate: unrecognized file .META. ignoring08/01/19 23:18:06 ERROR util.Migrate: exiting due to errorjava.io.IOException: cannot find root region file:/tmp/hadoop-stack/hbase/hregion_70236052        at org.apache.hadoop.hbase.util.Migrate.run(Migrate.java:156)        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)        at org.apache.hadoop.hbase.util.Migrate.main(Migrate.java:450)

{code}

Odd is that there is not hregion_70236052 file:

{code}
$ ls -la /tmp/hadoop-stack/hbase/
total 0
drwxr-xr-x   3 stack  wheel  102 Jan 19 23:16 -ROOT-
drwxr-xr-x   4 stack  wheel  136 Jan 19 23:17 .
drwxr-xr-x   3 stack  wheel  102 Jan 19 23:16 ..
drwxr-xr-x   3 stack  wheel  102 Jan 19 23:16 .META.
{code}


> [hbase] Documentation and improved logging so fact that hbase now requires migration comes as less of a surprise
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-2668
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2668
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/hbase
>            Reporter: stack
>            Assignee: stack
>            Priority: Blocker
>             Fix For: 0.16.0
>
>         Attachments: migrate.patch
>
>
> Hbase now checks for a version file.  If none, it reports a version mismatch.  There will be no version file if the hbase was made by a version older than r613469

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

 « Return to Thread: [jira] Created: (HADOOP-2668) [hbase] After 2643, cluster won't start if FS was created by an older hbase version