hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Stepachev (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-13322) Replace explicit HBaseAdmin creation with connection#getAdmin()
Date Wed, 25 Mar 2015 16:21:53 GMT

    [ https://issues.apache.org/jira/browse/HBASE-13322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14380150#comment-14380150
] 

Andrey Stepachev commented on HBASE-13322:
------------------------------------------

[~ndimiduk] Thanks for reviewing. 
I went through all places and reuse HBaseTestingUtility whenever possible. Other places actually
luck of it or there is production code which uses HBaseAdmin sporadically (so there no infrastructure
for common Connection). Also there some places where HTable was instantiated, I changed that
too.
So basically I tried rework all those places where connection is available (and I use it)
or just creating new one and close it, so that will not change code logic (because it raises
issues of when open/close connection).  
Sure, tablesDetails.jsp could use some shared connection, I'll recheck that.

> Replace explicit HBaseAdmin creation with connection#getAdmin()
> ---------------------------------------------------------------
>
>                 Key: HBASE-13322
>                 URL: https://issues.apache.org/jira/browse/HBASE-13322
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: Andrey Stepachev
>            Assignee: Andrey Stepachev
>            Priority: Minor
>         Attachments: HBASE-13322.patch, HBASE-13322.v2.patch
>
>




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

Mime
View raw message