[ https://issues.apache.org/jira/browse/HBASE-8218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13637800#comment-13637800 ]
cuijianwei commented on HBASE-8218: ----------------------------------- I try to find 'Findbugs' errors from "https://builds.apache.org/job/PreCommit-HBASE-Build/5370//console", however I can't find related 'Findbugs' errors. The error info is : {code} Failed to execute goal org.apache.rat:apache-rat-plugin:0.8:check (default-cli) on project hbase: Too many unapproved licenses: 1 -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: {code} Is it possible that this error may be caused by other reasons? > Pass HConnection and ExecutorService as parameters to methods of > AggregationClient > ---------------------------------------------------------------------------------- > > Key: HBASE-8218 > URL: https://issues.apache.org/jira/browse/HBASE-8218 > Project: HBase > Issue Type: Improvement > Components: Client, Coprocessors > Affects Versions: 0.94.3 > Reporter: cuijianwei > Assignee: cuijianwei > Fix For: 0.98.0 > > Attachments: 8218-trunk-v2.txt, 8218-trunk-v3.txt, > HBASE-8218-0.94.3-v1.txt, HBASE-8218-0.94.3-v2.txt, HBASE-8218-0.94.3-v3.txt, > HBASE-8218-trunk-v1.txt > > > In AggregationClient, methods such as max(...), min(...) pass 'tableName' as > a parameter, then a HTable will be created in the method, before the method > return, the created HTable will be closed. > The process above may be heavy because each call must create and close a > HTable. The situation becomes worse when there is only one thread access > HBase using AggregationClient. The underly HConnection of created HTable will > also be created and then closed each time when we invoke these method because > no other HTables using the HConnection. This operation is heavy. Therefore, > can we add another group of methods which pass HTable or HTablePool as a > parameter to methods defined in AggregationClient? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira