Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-6263

Use default mode for HBase Thrift gateway if not specified

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.94.0, 0.95.2
    • Fix Version/s: 0.94.2
    • Component/s: Thrift
    • Labels:
      None
    • Release Note:
      The Thrift gateway no longer requires specification on the command line of an implementation type when starting. If missing, the default "threadpool" implementation will be selected.

      Description

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

      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)
      

      See also BIGTOP-648.

        Attachments

        1. HBASE-6263-0.94.patch
          0.9 kB
          Andrew Purtell
        2. HBASE-6263.patch
          1.0 kB
          Andrew Purtell

          Issue Links

            Activity

              People

              • Assignee:
                apurtell Andrew Purtell
                Reporter:
                apurtell Andrew Purtell
              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: