HBase
  1. HBase
  2. HBASE-11826

Split each tableOrRegionName admin methods into two targetted methods

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.99.0, 2.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)
      
      1. HBASE_11826_v2.patch
        49 kB
        stack
      2. HBASE_11826_v2.patch
        49 kB
        Carter
      3. HBASE_11826.patch
        31 kB
        Carter
      4. hbase-11826_v3.patch
        188 kB
        Enis Soztutar
      5. hbase-11826_v3.patch
        188 kB
        Enis Soztutar

        Issue Links

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development