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

Split each tableOrRegionName admin methods into two targetted methods

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.99.0, 1.0.0
    • None
    • None
    • Reviewed

    Description

      Purpose of this is two implement enis'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.patch
          31 kB
          Carter
        4. HBASE_11826_v2.patch
          49 kB
          Carter
        5. HBASE_11826_v2.patch
          49 kB
          Michael Stack

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: