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

[Flakey Test] TestThriftServerCmdLine.testRunThriftServer NPEs if InfoServer port clash

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1, 2.3.0
    • flakies
    • None

    Description

      Push yesterday, HBASE-24100 [Flakey Tests] Add test to check we work properly when port clash setting up thriftserver, fixed the thrift protocol clash on ports. Today I ran into a clash where the info put up by thrift clashes. It looks like this. This issue adds tests where info port clashes.

       -------------------------------------------------------------------------------
       Test set: org.apache.hadoop.hbase.thrift.TestThriftServerCmdLine
       -------------------------------------------------------------------------------
       Tests run: 32, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 81.368 s <<< FAILURE! - in org.apache.hadoop.hbase.thrift.TestThriftServerCmdLine
       org.apache.hadoop.hbase.thrift.TestThriftServerCmdLine.testRunThriftServer[9]  Time elapsed: 10.161 s  <<< ERROR!
       java.lang.NullPointerException
         at org.apache.hadoop.hbase.thrift.TestThriftServerCmdLine.createBoundServer(TestThriftServerCmdLine.java:251)
         at org.apache.hadoop.hbase.thrift.TestThriftServerCmdLine.createBoundServer(TestThriftServerCmdLine.java:178)
         at org.apache.hadoop.hbase.thrift.TestThriftServerCmdLine.testRunThriftServer(TestThriftServerCmdLine.java:258)
      

      Attachments

        Activity

          People

            stack Michael Stack
            stack Michael Stack
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: