Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-648

hbase-thrift cannot be started properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.4.0
    • 0.4.0, 0.5.0
    • Init scripts
    • None

    Description

      although hbase-master/regionserver/rest all started fine, fail to start hbase-thrift (SLES)

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

      tried to follow the message to add the option, doesn't work (Centos5)

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

      tried a full restart also (SLES)

      # 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
      

      Attachments

        1. BIGTOP-648.patch.txt
          0.6 kB
          Roman Shaposhnik
        2. BIGTOP-648.patch.txt
          1 kB
          Roman Shaposhnik

        Issue Links

          Activity

            People

              rvs Roman Shaposhnik
              dreambird Johnny Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: