zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yaohui Wu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-2661) It costs about 5055 ms to create Zookeeper object for the first time.
Date Wed, 11 Jan 2017 07:47:58 GMT

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

Yaohui Wu commented on ZOOKEEPER-2661:
--------------------------------------

Yes, this problem is not serious. I'm just curious, during the 5 seconds, what the JVM did?
Is it possible to speed up?

In addition, zkCli.sh and hbase shell which use zookeeper, also open slow。

> It costs about 5055 ms to create Zookeeper object for the first time.
> ---------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-2661
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2661
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: java client
>    Affects Versions: 3.4.6
>         Environment: See the description below.
>            Reporter: Yaohui Wu
>         Attachments: ZookeeperTest.java, log_output.txt
>
>
> I create and close ZooKeeper for 10 times.  It costs about 5055 ms for the first time.
> See attached files for some test code and output.



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

Mime
View raw message