You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "huzheng (JIRA)" <ji...@apache.org> on 2017/02/14 09:42:41 UTC

[jira] [Commented] (HBASE-17645) Improve the connection usage in PE tool

    [ 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)