hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bryan Duxbury (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-79) [hbase] When HBase needs to be migrated, it should display a message on stdout, not just in the logs
Date Tue, 19 Feb 2008 19:28:43 GMT

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

Bryan Duxbury commented on HBASE-79:

Patch looks good, maybe change the message though? That message seems to indicate I have to
upgrade HDFS. 

How about "The HBase data files stored in HDFS are from an earlier version of HBase. You need
to run 'bin/hbase migrate' to bring your installation up-to-date." ?

> [hbase] When HBase needs to be migrated, it should display a message on stdout, not just
in the logs
> ----------------------------------------------------------------------------------------------------
>                 Key: HBASE-79
>                 URL: https://issues.apache.org/jira/browse/HBASE-79
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: util
>            Reporter: Bryan Duxbury
>             Fix For: 0.2.0
>         Attachments: 79.patch
> When you upgrade your HBase code version, there is occasionally the need to migrate the
underlying data store to a new version. However, if you are unaware of this need, then you'll
be very confused by what happens when you restart HBase. Using start-hbase.sh, you get messages
indicating that the master and regionservers started as expected. However, in reality, it
will have tried to start and failed due to a version mismatch. This information is displayed
in the logs, but you won't know that until you go log diving.
> Instead, let's have the start-hbase.sh script do a check to see if the version number
is wrong itself. That way, if it fails, it can write messages about startup failure to the
console instead of to the logs. This will make new admins much happier.

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

View raw message