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

ClusterStatus should be able to return responses by scope

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Hide
      Provide a new way to get desired ClusterStatus with a set of ClusterStatus.Option, such that the response back to client can be limited.
      Note that, the constructor way to new a ClusterStatus will be no longer support after 2.0.0, and use ClusterStatus.Builder instead.
      Show
      Provide a new way to get desired ClusterStatus with a set of ClusterStatus.Option, such that the response back to client can be limited. Note that, the constructor way to new a ClusterStatus will be no longer support after 2.0.0, and use ClusterStatus.Builder instead.

      Description

      The current ClusterStatus response returns too much information about the load per region and replication cluster wide. Sometimes that response can be quite large (10s or 100s of MBs) and methods like getServerSize() or getRegionsCount() don't really need the full response. One possibility is to provide a scope (or filter) for the ClusterStatus requests to limit the response back to the client.

        Attachments

        1. HBASE-15511.master.001.patch
          91 kB
          Reid Chan
        2. HBASE-15511.master.002.patch
          92 kB
          Reid Chan
        3. HBASE-15511.master.003.patch
          93 kB
          Reid Chan
        4. HBASE-15511.master.004.patch
          96 kB
          Reid Chan
        5. HBASE-15511.master.005.patch
          94 kB
          Reid Chan
        6. HBASE-15511.master.006.patch
          94 kB
          Reid Chan
        7. HBASE-15511.master.007.patch
          94 kB
          Reid Chan
        8. HBASE-15511.master.008.patch
          33 kB
          Reid Chan
        9. HBASE-15511.master.009.patch
          34 kB
          Reid Chan
        10. HBASE-15511.master.010.patch
          41 kB
          Reid Chan
        11. HBASE-15511.master.011.patch
          41 kB
          Reid Chan
        12. HBASE-15511.master.012.patch
          42 kB
          Reid Chan
        13. HBASE-15511.master.013.patch
          42 kB
          Reid Chan
        14. HBASE-15511.master.014.patch
          42 kB
          Reid Chan

          Issue Links

            Activity

              People

              • Assignee:
                reidchan Reid Chan
                Reporter:
                esteban Esteban Gutierrez
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: