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

Implement async admin

    XMLWordPrintableJSON

Details

    Description

      And as we will return a CompletableFuture, I think we can just remove the XXXAsync methods, and make all the methods blocking which means we will only finish the CompletableFuture when the operation is done. User can choose whether to wait on the returned CompletableFuture.

      Convert this to a umbrella task. There maybe some sub-tasks.
      1. Table admin operations.
      2. Region admin operations.
      3. Namespace admin operations.
      4. Snapshot admin operations.
      5. Replication admin operations.
      6. Other operations, like quota, balance......

      Attachments

        Issue Links

          1.
          Add first async admin impl and implement balance methods Sub-task Resolved Guanghao Zhang
          2.
          Add first async MetaTableAccessor impl and Implement tableExists method Sub-task Resolved Guanghao Zhang
          3.
          Implement listTables and listTableNames methods Sub-task Resolved Guanghao Zhang
          4.
          Implement getTable/creatTable/deleteTable/truncateTable methods Sub-task Resolved Guanghao Zhang
          5.
          Implement enable/disable table methods Sub-task Resolved Guanghao Zhang
          6.
          Implement isTableEnabled/Disabled/Available methods Sub-task Resolved Guanghao Zhang
          7.
          Implement add/delete/modify column family methods Sub-task Resolved Guanghao Zhang
          8.
          Implement get/create/modify/delete/list namespace admin operations Sub-task Resolved Guanghao Zhang
          9.
          Add async admin Impl which connect to RegionServer and implement close region methods. Sub-task Resolved Zheng Hu
          10.
          Implement Async getRegion method Sub-task Resolved Zheng Hu
          11.
          Implement async flush/compact region methods Sub-task Resolved Zheng Hu
          12.
          Implement async assgin/offline/move/unassign methods Sub-task Resolved Zheng Hu
          13.
          Implement async mergeRegion/splitRegion methods. Sub-task Resolved Zheng Hu
          14.
          Implement async snapshot/cloneSnapshot/restoreSnapshot methods Sub-task Resolved Zheng Hu
          15.
          Implement async listSnapshot/deleteSnapshot methods. Sub-task Resolved Zheng Hu
          16.
          Implement async setQuota/getQuota methods. Sub-task Resolved Zheng Hu
          17.
          Implement async procedure RPC API(list/exec/abort/isFinished) Sub-task Resolved Zheng Hu
          18.
          Implement async replication admin methods Sub-task Resolved Guanghao Zhang
          19.
          Fix flaky test TestAsyncTableAdminApi Sub-task Resolved Zheng Hu
          20.
          Add document for async admin Sub-task Resolved Guanghao Zhang
          21.
          Fix flaky test TestAsyncSnapshotAdminApi Sub-task Resolved Apekshit Sharma
          22.
          Update the config of TestAsync*AdminApi to make test stable Sub-task Resolved Guanghao Zhang
          23.
          Revisit the async admin api Sub-task Resolved Guanghao Zhang
          24.
          Provide a construct method which accept a thread pool for AsyncAdmin Sub-task Resolved Guanghao Zhang
          25.
          Provide a AsyncAdminBuilder to create new AsyncAdmin instance Sub-task Resolved Guanghao Zhang
          26.
          Implement async admin operations for draining region servers Sub-task Resolved Guanghao Zhang
          27.
          Implement async admin operations for Normalizer/CleanerChore/CatalogJanitor Sub-task Resolved Guanghao Zhang
          28.
          Implement updateConfiguration/stopMaster/stopRegionServer/shutdown methods Sub-task Resolved Guanghao Zhang
          29.
          Implement getClusterStatus/getRegionLoad/getCompactionState/getLastMajorCompactionTimestamp methods Sub-task Resolved Guanghao Zhang
          30.
          Add coprocessor service support for async admin Sub-task Resolved Guanghao Zhang
          31.
          Track the remaining unimplemented methods for async admin Sub-task Resolved Guanghao Zhang
          32.
          AsyncConnection should return AsyncAdmin interface instead of the implemenation Sub-task Resolved Guanghao Zhang

          Activity

            People

              zghao Guanghao Zhang
              zhangduo Duo Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: