[
https://issues.apache.org/jira/browse/HBASE-27060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bryan Beaudreault updated HBASE-27060:
--------------------------------------
Fix Version/s: 2.5.1
3.0.0-alpha-4
2.4.14
Release Note: Added a new no-arg constructor for AggregationClient which
allows lightweight usage of just the methods accepting a Table. Also added a
new constructor which takes a Connection, allowing the user to pass their own
externally managed connection which will be used when methods accepting a
TableName are used.
Resolution: Fixed
Status: Resolved (was: Patch Available)
Merged to master and branch-2*
Thanks [~zhangduo] for reviewing!
> Allow sharing connections between AggregationClient instances
> -------------------------------------------------------------
>
> Key: HBASE-27060
> URL: https://issues.apache.org/jira/browse/HBASE-27060
> Project: HBase
> Issue Type: Improvement
> Reporter: Bryan Beaudreault
> Assignee: Bryan Beaudreault
> Priority: Major
> Labels: patch-available
> Fix For: 2.5.1, 3.0.0-alpha-4, 2.4.14
>
>
> AggregationClient only has a single constructor which takes a Configuration.
> The constructor uses the Configuration to create a Connection.
> However, some of the AggregationClient methods take a Table argument. In
> those cases it doesn't use the created Connection at all.
> We should add another constructor which does not create a Connection so that
> people can use AggregationClient with externally managed Connection.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)