hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "huzheng (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-17645) Improve the connection usage in PE tool
Date Tue, 14 Feb 2017 09:42:41 GMT

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

huzheng commented on HBASE-17645:
---------------------------------

So ,  if oneCon flag is false.   we could just pass a null Connection object , instead of
a created Connection ? 

> Improve the connection usage in PE tool
> ---------------------------------------
>
>                 Key: HBASE-17645
>                 URL: https://issues.apache.org/jira/browse/HBASE-17645
>             Project: HBase
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 2.0.0
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 2.0.0
>
>
> In PE tool we have the option of using one connection for all threads. By default it
is false. And you can see a  big difference in the measurements that the tool produces and
also the load that it generates on the server side when this oneCon is false/true.
> Also if you see if oneCon is false, we still create one connection for initilaizing the
threads and again that connection is overwritten when the threads actually starts running
by creating a connection. I think we can do some clean up here. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message