You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Mike Drob (JIRA)" <ji...@apache.org> on 2018/03/23 21:32:00 UTC

[jira] [Commented] (HBASE-20268) It takes more than 15 seconds to bring up hbase shell

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

Mike Drob commented on HBASE-20268:
-----------------------------------

On my local macbook I get ~4 sec with jruby alone and ~45 seconds through the shell against tip of master branch. We're almost certainly doing something extra that causes a terrible user experience here.

> It takes more than 15 seconds to bring up hbase shell
> -----------------------------------------------------
>
>                 Key: HBASE-20268
>                 URL: https://issues.apache.org/jira/browse/HBASE-20268
>             Project: HBase
>          Issue Type: Improvement
>          Components: shell
>    Affects Versions: 2.0.0-alpha-4
>            Reporter: huaxiang sun
>            Assignee: Mike Drob
>            Priority: Major
>
> On a hbase 2.0 based cluster, it takes more than 15 seconds to bring up hbase shell.
> Output: 
>  {noformat}
>  # [root@hsun-1 ~]# echo exit | time /usr/java/default/bin/java -jar /opt/cloudera/parcels/CDH/jars/jruby-complete-9.1.10.0.jar -S irb
>  # Switch to inspect mode.
>  # exit
>  # 9.81user 0.30system 0:03.59elapsed 281%CPU (0avgtext+0avgdata 308672maxresident)k
>  # 0inputs+776outputs (0major+79787minor)pagefaults 0swaps
>  # 
>  # [root@hsun-1 ~]# echo exit | time hbase shell
>  # Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
>  # HBase Shell
>  # Use "help" to get list of supported commands.
>  # Use "exit" to quit this interactive shell.
>  # Version 2.0.0-cdh6.0.x-SNAPSHOT, rUnknown, Thu Mar 22 12:30:22 PDT 2018
>  # Took 0.0040 seconds
>  # exit
>  # 33.92user 1.20system 0:15.21elapsed 230%CPU (0avgtext+0avgdata 360928maxresident)k
>  # 0inputs+1064outputs (0major+176658minor)pagefaults 0swaps
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)