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

[Flakey Tests] krb server for secure thrift tests throws BindException

    XMLWordPrintableJSON

Details

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

    Description

      Thought I'd put all the BindExceptions in thrift to sleep but just came across this one putting up the krb server used by the secure thrift http tests. There are two tests that use krb:

       -------------------------------------------------------------------------------
       Test set: org.apache.hadoop.hbase.thrift.TestThriftSpnegoHttpFallbackServer
       -------------------------------------------------------------------------------
       Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.042 s <<< FAILURE! - in org.apache.hadoop.hbase.thrift.TestThriftSpnegoHttpFallbackServer
       org.apache.hadoop.hbase.thrift.TestThriftSpnegoHttpFallbackServer  Time elapsed: 0.017 s  <<< ERROR!
       org.apache.kerby.kerberos.kerb.KrbException: Failed to start KDC-Server
         at org.apache.hadoop.hbase.thrift.TestThriftSpnegoHttpFallbackServer.setUpBeforeClass(TestThriftSpnegoHttpFallbackServer.java:137)
       Caused by: java.net.BindException: Address already in use (Bind failed)
         at org.apache.hadoop.hbase.thrift.TestThriftSpnegoHttpFallbackServer.setUpBeforeClass(TestThriftSpnegoHttpFallbackServer.java:137)
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: