hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-2668) [hbase] Documentation and improved logging so fact that hbase now requires migration comes as less of a surprise
Date Sun, 20 Jan 2008 07:14:34 GMT

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

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

I tried to do a migrate and it looks like the below:

{code}
durruti:~/Documents/checkouts/hadoop-commit/src/contrib/hbase stack$ ./bin/hbase org.apache.hadoop.hbase.util.Migrate
08/01/19 23:05:21 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:60000.
Already tried 1 time(s).
08/01/19 23:05:22 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:60000.
Already tried 2 time(s).
08/01/19 23:05:23 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:60000.
Already tried 3 time(s).
08/01/19 23:05:24 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:60000.
Already tried 4 time(s).
08/01/19 23:05:25 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:60000.
Already tried 5 time(s).
08/01/19 23:05:26 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:60000.
Already tried 6 time(s).
08/01/19 23:05:27 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:60000.
Already tried 7 time(s).
08/01/19 23:05:28 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:60000.
Already tried 8 time(s).
08/01/19 23:05:29 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:60000.
Already tried 9 time(s).
08/01/19 23:05:30 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:60000.
Already tried 10 time(s).
08/01/19 23:05:31 INFO util.Migrate: unrecognized file -ROOT- ignoring
08/01/19 23:05:31 INFO util.Migrate: unrecognized file .hbase.version.crc ignoring
08/01/19 23:05:31 INFO util.Migrate: unrecognized file .META. ignoring
08/01/19 23:05:31 ERROR util.Migrate: exiting due to error
java.io.IOException: unrecovered region server log file log_192.168.0.100_1200373881646_51251
aborting
        at org.apache.hadoop.hbase.util.Migrate.extraFile(Migrate.java:206)
        at org.apache.hadoop.hbase.util.Migrate.extraFiles(Migrate.java:184)
        at org.apache.hadoop.hbase.util.Migrate.run(Migrate.java:148)
        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}

The 'unrecognized' -ROOT- and .META. and *.crc do not inspire confidence.  Can we make the
message better?

Looking at the FS, I see the version file and figure that rerunning the start, it'd probably
work for me (running the logs).. but it just fails again telling me to migrate.

> [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.


Mime
View raw message