[ https://issues.apache.org/jira/browse/HBASE-20268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16417711#comment-16417711 ]
Mike Drob commented on HBASE-20268: ----------------------------------- Spent time digging into this, we have about 5 seconds of starting the JVM, 5 seconds of starting the IRB, and 5 seconds of everything else. Unfortunately, I wasn't able to make much progress on either front. Leaving this wiki page here for now https://github.com/jruby/jruby/wiki/Improving-startup-time > 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)