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

Use default mode for HBase Thrift gateway if not specified

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.94.0, 0.95.2
    • 0.94.2
    • Thrift
    • None
    • 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.patch
          1.0 kB
          Andrew Kyle Purtell
        2. HBASE-6263-0.94.patch
          0.9 kB
          Andrew Kyle Purtell

        Issue Links

          Activity

            People

              apurtell Andrew Kyle Purtell
              apurtell Andrew Kyle Purtell
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: