Andrew Purtell created HBASE-6263:
-------------------------------------

             Summary: Binscript should pick a default mode for HBase Thrift 
gateway
                 Key: HBASE-6263
                 URL: https://issues.apache.org/jira/browse/HBASE-6263
             Project: HBase
          Issue Type: Bug
          Components: scripts, thrift
    Affects Versions: 0.94.0, 0.92.1, 0.96.0
            Reporter: Andrew Purtell
            Priority: Minor


The Thrift gateway should start with a default mode if one is not selected. 
Currently, instead we see:

{noformat}
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}

See also BIGTOP-648. 

--
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

        

Reply via email to