[ https://issues.apache.org/jira/browse/BIGTOP-648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13433329#comment-13433329 ]
Roman Shaposhnik commented on BIGTOP-648: ----------------------------------------- You're absolutely correct. I've been meaning to do that, but got distracted. Fixed now. > hbase-thrift cannot be started properly > --------------------------------------- > > Key: BIGTOP-648 > URL: https://issues.apache.org/jira/browse/BIGTOP-648 > Project: Bigtop > Issue Type: Bug > Components: Init scripts > Affects Versions: 0.4.0 > Reporter: Johnny Zhang > Assignee: Roman Shaposhnik > Priority: Blocker > Fix For: 0.4.0, 0.5.0 > > Attachments: BIGTOP-648.patch.txt, BIGTOP-648.patch.txt > > > although hbase-master/regionserver/rest all started fine, fail to start > hbase-thrift (SLES) > {noformat} > # service hbase-thrift start > Starting (hbase-thrift): > done > starting thrift, logging to > /var/log/hbase/hbase-hbase-thrift-pkgtest-sles64-11.out > # service hbase-thrift status > thrift is not running > failed > # cat /var/log/hbase/hbase-hbase-thrift-pkgtest-sles64-11.out > Exception in thread "main" java.lang.AssertionError: Exactly one option out > of [-hsha, -nonblocking, -threadpool, -threadedselector] has to be specified > at > org.apache.hadoop.hbase.thrift.ThriftServerRunner$ImplType.setServerImpl(ThriftServerRunner.java:201) > at > org.apache.hadoop.hbase.thrift.ThriftServer.processOptions(ThriftServer.java:169) > at > org.apache.hadoop.hbase.thrift.ThriftServer.doMain(ThriftServer.java:85) > at > org.apache.hadoop.hbase.thrift.ThriftServer.main(ThriftServer.java:192) > {noformat} > tried to follow the message to add the option, doesn't work (Centos5) > {noformat} > # service hbase-thrift start -nonblocking > starting thrift, logging to > /var/log/hbase/hbase-hbase-thrift-pkgtest-centos64-5.mtv.cloudera.com.out > Exception in thread "main" java.lang.AssertionError: Exactly one option out > of [-hsha, -nonblocking, -threadpool, -threadedselector] has to be specified > at > org.apache.hadoop.hbase.thrift.ThriftServerRunner$ImplType.setServerImpl(ThriftServerRunner.java:201) > at > org.apache.hadoop.hbase.thrift.ThriftServer.processOptions(ThriftServer.java:169) > at > org.apache.hadoop.hbase.thrift.ThriftServer.doMain(ThriftServer.java:85) > at > org.apache.hadoop.hbase.thrift.ThriftServer.main(ThriftServer.java:192) > {noformat} > tried a full restart also (SLES) > {noformat} > # service hbase-thrift --full-restart > Stopping (hbase-thrift): > done > no thrift to stop because kill -0 of pid 9010 failed with status 1 > Starting (hbase-thrift): > done > starting thrift, logging to > /var/log/hbase/hbase-hbase-thrift-pkgtest-sles64-11.out > Exception in thread "main" > # service hbase-thrift status > thrift is not running > failed > {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira