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

Make the method getCurrentPoolSize of HTablePool public

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Wish
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.94.3
    • Fix Version/s: 0.94.5, 0.95.0
    • Component/s: Client
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      We use HTablePool to manager opened HTable in our applications. We want to track the usage of HTablePool for different table names. Then we discover that HTablePool#getCurrentPoolSize could help us:

        int getCurrentPoolSize(String tableName) {
          return tables.size(tableName);
        }
      

      However, this method could only be called in the hbase client package. Can we make this method public?

        Attachments

        1. HBASE-7705-0.94.3.txt
          0.5 kB
          Jianwei Cui

          Activity

            People

            • Assignee:
              cuijianwei Jianwei Cui
              Reporter:
              cuijianwei Jianwei Cui

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment