You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Roman Shaposhnik (JIRA)" <ji...@apache.org> on 2012/08/10 02:17:19 UTC

[jira] [Resolved] (BIGTOP-648) hbase-thrift cannot be started properly

     [ https://issues.apache.org/jira/browse/BIGTOP-648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roman Shaposhnik resolved BIGTOP-648.
-------------------------------------

    Resolution: Fixed
    
> 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
>
>         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