Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-79

[hbase] When HBase needs to be migrated, it should display a message on stdout, not just in the logs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.1.0, 0.2.0
    • 0.1.0, 0.2.0
    • util
    • None

    Description

      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.

      Attachments

        1. 79.patch
          0.9 kB
          Michael Stack

        Activity

          People

            jimk Jim Kellerman
            bryanduxbury Bryan Duxbury
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: