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

Near-instantaneous online schema and table state updates

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 0.92.0
    • None
    • None

    Description

      We should not need to take a table offline to update HCD or HTD.

      One option for that is putting HTDs and HCDs up into ZK, with mirror on disk catalog tables to be used only for cold init scenarios, as discussed on IRC. In this scheme, regionservers hosting regions of a table would watch permanent nodes in ZK associated with that table for schema updates and take appropriate actions out of the watcher. In effect, schema updates become another item in the ToDo list.

      /hbase/tables/<table-name>/schema

      Must be associated with a write locking scheme also handled with ZK primitives to avoid situations where one concurrent update clobbers another.

      Attachments

        1. 1730.patch
          30 kB
          Michael Stack
        2. 1730-v2.patch
          42 kB
          Michael Stack
        3. 1730-v3.patch
          191 kB
          Michael Stack
        4. HBASE-1730.patch
          37 kB
          Nileema Shingte
        5. HBASE-1730-2.patch
          35 kB
          Nicolas Spiegelberg

        Issue Links

          Activity

            People

              nspiegelberg Nicolas Spiegelberg
              apurtell Andrew Kyle Purtell
              Votes:
              0 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: