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

Hudson commented on HBASE-24805:
--------------------------------

Results for branch branch-1
        [build #1338 on 
builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-1/1338/]: 
(x) *{color:red}-1 overall{color}*
----
details (if available):

(/) {color:green}+1 general checks{color}
-- For more information [see general 
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-1/1338//General_Nightly_Build_Report/]


(x) {color:red}-1 jdk7 checks{color}
-- For more information [see jdk7 
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-1/1338//JDK7_Nightly_Build_Report/]


(x) {color:red}-1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2) 
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-1/1338//JDK8_Nightly_Build_Report_(Hadoop2)/]




(x) {color:red}-1 source release artifact{color}
-- See build output for details.


> HBaseTestingUtility.getConnection should be threadsafe
> ------------------------------------------------------
>
>                 Key: HBASE-24805
>                 URL: https://issues.apache.org/jira/browse/HBASE-24805
>             Project: HBase
>          Issue Type: Bug
>          Components: test
>            Reporter: Sean Busbey
>            Assignee: Sean Busbey
>            Priority: Major
>             Fix For: 3.0.0-alpha-1, 1.7.0, 2.4.0
>
>
> the current javadoc for getConnection carries a thread safety warning:
> {code}
> /**
>     * Get a Connection to the cluster. Not thread-safe (This class needs a 
> lot of work to make it
>     * thread-safe).
>     * @return A Connection that can be shared. Don't close. Will be closed on 
> shutdown of cluster.
>     */
>    public Connection getConnection() throws IOException {
> {code}
> We then ignore that warning across our test base. We should make the method 
> threadsafe since the intention is to share a single Connection across all 
> users of the HTU instance.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to