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

Master should fail-safe if starting with a pre 0.96 layout

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.96.2, 0.99.0, 0.98.5, 2.0.0
    • Fix Version/s: 0.99.0, 0.98.6
    • Component/s: master
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      We recently saw this: If user inadvertently starts the HBase Master after deploying new HBase binaries (any version that supports namespaces), the HMaster will start the migration to PBs the the hbase.version file per HBASE-5453 and that will write a new version file PB-serialized but with the old version number. Further restarts of the master will fail because the hbase version file has been migrated to PBs and there will be version mismatch. The right approach should be to fail safe the master if we find an old hbase.version file in order to force user to run upgrade tool.

        Attachments

        1. HBASE-11726.v2.diff
          1 kB
          Esteban Gutierrez
        2. HBASE-11726.v1.diff
          2 kB
          Esteban Gutierrez
        3. HBASE-11726.v0.diff
          2 kB
          Esteban Gutierrez

          Activity

            People

            • Assignee:
              esteban Esteban Gutierrez
              Reporter:
              esteban Esteban Gutierrez
            • Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: