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

Split each tableOrRegionName admin methods into two targetted methods

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.99.0, 1.0.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Purpose of this is two implement Enis Soztutar's suggestion to strongly type the methods that take "tableOrRegionName" as an argument.

      For instance:

      void compact(final String tableNameOrRegionName)
      void compact(final byte[] tableNameOrRegionName)
      

      becomes

      @Deprecated
      void compact(final String tableNameOrRegionName)
      
      @Deprecated
      void compact(final byte[] tableNameOrRegionName)
      
      void compact(TableName table)
      
      void compactRegion(final byte[] regionName)
      

        Attachments

        1. hbase-11826_v3.patch
          188 kB
          Enis Soztutar
        2. hbase-11826_v3.patch
          188 kB
          Enis Soztutar
        3. HBASE_11826_v2.patch
          49 kB
          stack
        4. HBASE_11826_v2.patch
          49 kB
          Carter
        5. HBASE_11826.patch
          31 kB
          Carter

          Issue Links

            Activity

              People

              • Assignee:
                carterpage Carter
                Reporter:
                carterpage Carter
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: