hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastien Rainville (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-743) bin/hbase migrate upgrade fails when redo logs exists
Date Fri, 18 Jul 2008 10:38:31 GMT

    [ https://issues.apache.org/jira/browse/HBASE-743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12614690#action_12614690

Sebastien Rainville commented on HBASE-743:

Here's how I reproduce the problem:

(in hbase-0.1.3)
ls $HBASE_DATA_DIR => a redo log exists
ls $HBASE_DATA_DIR => the redo log is not there anymore: so far so good
ls $HBASE_DATA_DIR => a redo log exists
ls $HBASE_DATA_DIR => a redo log still exists
ls $HBASE_DATA_DIR => now there are 2 redo logs
ls $HBASE_DATA_DIR => now there is only 1 redo log: the bad one

(in hbase-trunk)
bin/hbase migrate upgrade => FAIL because of an unrecovered redo log

Now, I don't know how that's supposed to be handled but the thing is that HBase wasn't always
very *stable* so remaining redo logs like that are likely to exist for other people so it's
going to come up again.

> bin/hbase migrate upgrade fails when redo logs exists
> -----------------------------------------------------
>                 Key: HBASE-743
>                 URL: https://issues.apache.org/jira/browse/HBASE-743
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.2.0
>            Reporter: Sebastien Rainville
>            Assignee: Izaak Rubin
>            Priority: Minor
> I migrated several hbase-0.1.3 instances to hbase trunk and even if I stop hbase-0.1.3
cleanup it leaves redo logs on hdfs. The problems is that when migrating the data with hbase-trunk
it fails because it finds these redo-logs and quit with a error message saying that we should
reinstall the old hbase and shut it down cleanly and that in theory it erases the redo logs.
The work around has been to delete the redo logs manually... which is bad.

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

View raw message