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

HLog recovery is not performed after master failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.1.2, 0.2.1, 0.19.3
    • 0.20.0
    • master, regionserver
    • None
    • Reviewed
    • Old setups running 0.19 should first delete everything that's log_* in HBase root HDFS folder before updating. Make sure HBase is down before doing that. Also this will be done by migration in 0.20.0

    Description

      I have a local cluster running, and its logging to
      <hbase>/log_X.X.X.X_1213228101021_60020/

      Then I kill both master and regionserver, and restart. Looking through
      the logs I don't see anything about trying to recover from this hlog,
      it just creates a new hlog alongside the existing one (with a new
      startcode). The older hlog seems to be ignored, and the tables
      created in the inital session are all gone.

      Attachments

        1. hbase-698-0.19.patch
          4 kB
          Jean-Daniel Cryans
        2. hbase-698.patch
          5 kB
          Jean-Daniel Cryans

        Issue Links

          Activity

            People

              jdcryans Jean-Daniel Cryans
              clint.morgan Clint Morgan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: