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

Remove Master from table status query path.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • 2.0.0
    • 2.0.0
    • Client, master
    • None

    Description

      With patch HBASE-7767 we moved table statuses from ZK to HDFS. That was a good cleanup, but we put additional (substantial) load on master. Some client requests use checks for table state (for example HBASE-12035).
      Thats is why patch was not back ported to branch1 (HBASE-11978)

      Lets replicate state back to zk, but as a mirror of table states.

      What can be done:
      1. TableStateManager would push table state changes to zk
      2. Return back ZKTableStateClientSideReader.

      Alternative way:
      1. Move table statuses to separate table like namespaces
      2. Issue statuses requests against this table

      Alternative way2:
      1. Extend RS api with getTableState() call
      2. Each RS will be able to cache table states
      3. Clients will call RS instead of master or zk

      Attachments

        Activity

          People

            Unassigned Unassigned
            octo47 Andrey Stepachev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: