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

Users of QuotaRetriever should pass an existing connection

    XMLWordPrintableJSON

Details

    Description

      Every call to HBaseAdmin#getQuota() opens a new Connection, and then closes it. As far as I can tell, this is pointless, since it could use the existing Connection object held by the HBaseAdmin. If you have a custom RpcClient (like we do at Hubspot), new connections have an expense that we'd rather not pay unnecessarily. I'll submit a PR that addresses this situation and similar ones.

      Attachments

        Activity

          People

            charlesconnell Charles Connell
            charlesconnell Charles Connell
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: