[ 
https://issues.apache.org/jira/browse/HBASE-12404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

stack updated HBASE-12404:
--------------------------
    Attachment: 12404.txt

Here is a first cut.  Does hbase-*/src/main/java except for the content of 
mapred* packages.  In these packages, no obvious place to do a close out of 
allocated resources. Will revisit.

Most changes are fine but in tools -- i.e. static methods that do changes to 
ACL table or Quota tables -- its going to be real slow setting up a Connection 
each time, creating a single table, and then closing it all down.

Let me see if I can change at least some of these methods to take a Connection 
rather than a Configuration if context allows; thinking of adding a 
getConnection to the Server Interface.

> Task 5 from parent: Replace internal HTable constructor use with 
> HConnection#getTable (0.98, 0.99)
> --------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-12404
>                 URL: https://issues.apache.org/jira/browse/HBASE-12404
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: stack
>            Assignee: stack
>             Fix For: 0.99.2
>
>         Attachments: 12404.txt
>
>
> Do the step 5. from the [~ndimiduk] list in parent issue.  Go through src 
> code and change all new HTable to instead be connection.getTable.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to