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

AggregationClient creates a new Htable, HConnection,and ExecutorService in every CP call.

    XMLWordPrintableJSON

    Details

      Description

      At present AggregationClient takes Conf in constructor and create a new Htable instance on every method calls. The constructor of HTable used in AggregationClient is very heavy as it creates a new HConnection and ExecutorService.
      Above mechanism is not convenient where the Application is managing HTable, HConnection, ExecutorService by itself. So, i propose
      1# AggregationClient should provide an additional constructor: AggregationClient(HTable)
      2# Provide methods that takes Htable.
      In this way we can avoid creation of Htable, HConnection,and ExecutorService in every CP call.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              anilgupta84 Anil Gupta
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: