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

Remove the deprecated methods in Admin interface

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1
    • Admin, Client
    • None
    • Incompatible change, Reviewed
    • Hide
      These methods in the Admin interface have been removed:

      listTables()
      listTables(Pattern)
      listTables(String)
      listTables(Pattern, boolean)
      listTables(String, boolean)
      listTableNames(String)
      listTableNames(String, boolean)
      getTableDescriptor(TableName)
      deleteTables(String)
      deleteTables(Pattern)
      enableTables(String)
      enableTables(Pattern)
      disableTables(String)
      disableTables(Pattern)
      isTableAvailable(TableName, byte[][])
      getAlterStatus(TableName)
      getAlterStatus(byte[])
      addColumn(TableName, ColumnFamilyDescriptor)
      deleteColumn(TableName, byte[])
      modifyColumn(TableName, ColumnFamilyDescriptor)
      closeRegion(String, String)
      closeRegion(byte[], String)
      closeRegionWithEncodedRegionName(String, String)
      closeRegion(ServerName, HRegionInfo)
      getOnlineRegions(ServerName)
      compactRegionServer(ServerName, boolean)
      setBalancerRunning(boolean, boolean)
      balancer()
      balancer(boolean)
      setNormalizerRunning(boolean)
      enableCatalogJanitor(boolean)
      runCatalogScan()
      setCleanerChoreRunning(boolean)
      mergeRegions(byte[], byte[], boolean)
      splitRegion(byte[])
      modifyTable(TableName, TableDescriptor)
      modifyTableAsync(TableName, TableDescriptor)
      getClusterStatus()
      listTableDescriptorsByNamespace(String)
      getTableRegions(TableName)
      getTableDescriptorsByTableName(List)
      getTableDescriptors(List)
      getMasterCoprocessors()
      snapshot(byte[], TableName)
      takeSnapshotAsync(SnapshotDescription)
      restoreSnapshot(byte[])
      restoreSnapshotAsync(String)
      restoreSnapshot(byte[], boolean)
      cloneSnapshot(byte[], TableName)
      execProcedureWithRet(String, String, Map)
      listSnapshots(String)
      listTableSnapshots(String, String)
      deleteSnapshots(String)
      deleteTableSnapshots(String, String)
      getQuotaRetriever(QuotaFilter)
      setSplitOrMergeEnabled(boolean, boolean, MasterSwitchType[])
      isSplitOrMergeEnabled(MasterSwitchType)
      Show
      These methods in the Admin interface have been removed: listTables() listTables(Pattern) listTables(String) listTables(Pattern, boolean) listTables(String, boolean) listTableNames(String) listTableNames(String, boolean) getTableDescriptor(TableName) deleteTables(String) deleteTables(Pattern) enableTables(String) enableTables(Pattern) disableTables(String) disableTables(Pattern) isTableAvailable(TableName, byte[][]) getAlterStatus(TableName) getAlterStatus(byte[]) addColumn(TableName, ColumnFamilyDescriptor) deleteColumn(TableName, byte[]) modifyColumn(TableName, ColumnFamilyDescriptor) closeRegion(String, String) closeRegion(byte[], String) closeRegionWithEncodedRegionName(String, String) closeRegion(ServerName, HRegionInfo) getOnlineRegions(ServerName) compactRegionServer(ServerName, boolean) setBalancerRunning(boolean, boolean) balancer() balancer(boolean) setNormalizerRunning(boolean) enableCatalogJanitor(boolean) runCatalogScan() setCleanerChoreRunning(boolean) mergeRegions(byte[], byte[], boolean) splitRegion(byte[]) modifyTable(TableName, TableDescriptor) modifyTableAsync(TableName, TableDescriptor) getClusterStatus() listTableDescriptorsByNamespace(String) getTableRegions(TableName) getTableDescriptorsByTableName(List) getTableDescriptors(List) getMasterCoprocessors() snapshot(byte[], TableName) takeSnapshotAsync(SnapshotDescription) restoreSnapshot(byte[]) restoreSnapshotAsync(String) restoreSnapshot(byte[], boolean) cloneSnapshot(byte[], TableName) execProcedureWithRet(String, String, Map) listSnapshots(String) listTableSnapshots(String, String) deleteSnapshots(String) deleteTableSnapshots(String, String) getQuotaRetriever(QuotaFilter) setSplitOrMergeEnabled(boolean, boolean, MasterSwitchType[]) isSplitOrMergeEnabled(MasterSwitchType)

    Description

      For API cleanup, and will make the work in HBASE-21718 a little easier.

      Attachments

        1. HBASE-22002.patch
          397 kB
          Duo Zhang
        2. HBASE-22002-v1.patch
          399 kB
          Duo Zhang
        3. HBASE-22002-v2.patch
          400 kB
          Duo Zhang
        4. HBASE-22002-test.patch
          0.5 kB
          Duo Zhang
        5. HBASE-22002-test.patch
          0.5 kB
          Duo Zhang
        6. HBASE-22002-v3.patch
          414 kB
          Duo Zhang
        7. HBASE-22002-v4.patch
          414 kB
          Duo Zhang
        8. HBASE-22002-v5.patch
          414 kB
          Duo Zhang

        Issue Links

          Activity

            People

              zhangduo Duo Zhang
              zhangduo Duo Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: