[
https://issues.apache.org/jira/browse/BIGTOP-648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roman Shaposhnik updated BIGTOP-648:
------------------------------------
Attachment: BIGTOP-648.patch.txt
I know this is a total hack, but:
# I can't come up with a better way to do it for Bigtop 0.4.0 and
# I really would like it to work out of the box AND
# with HBASE-6263 fixed we will immediateally rip those hacks out
So with that in mind -- please let me know what do you think.
> 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