You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Johnny Zhang (JIRA)" <ji...@apache.org> on 2012/07/03 23:28:35 UTC

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

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

Johnny Zhang commented on BIGTOP-648:
-------------------------------------

it does work for centos5_x64 and ubuntu precise I tested, but not SLES 11
{noformat}
service hbase-thrift start
__EOT__
12/07/03 11:14:14 TRACE shell.Shell:
<stdout>
Starting  (hbase-thrift): ..done
starting thrift, logging to /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)

</stdout>
12/07/03 11:14:17 TRACE shell.Shell: /bin/bash -s << __EOT__
service hbase-thrift status
__EOT__
12/07/03 11:14:17 TRACE shell.Shell: return: 3
12/07/03 11:14:17 TRACE shell.Shell:
<stdout>
thrift is not running..failed
{noformat}

sorry for late notice
                
> 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
>
>
> 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