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

[Flakey Tests] TestBindExceptionHandling.testProtocolPortClash doesn't assert clean starting point

    XMLWordPrintableJSON

Details

    • Test
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0-alpha-2
    • None
    • test, Thrift
    • None

    Description

      Looks like the metrics subsystem is not being reset between test runs.

      [ERROR] org.apache.hadoop.hbase.thrift.TestBindExceptionHandling.testProtocolPortClash  Time elapsed: 6.441 s  <<< ERROR!
      org.apache.hadoop.metrics2.MetricsException: Metrics source Thrift,sub=ThriftOne already exists!
      	at org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.newSourceName(DefaultMetricsSystem.java:152)
      	at org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.sourceName(DefaultMetricsSystem.java:125)
      	at org.apache.hadoop.metrics2.impl.MetricsSystemImpl.register(MetricsSystemImpl.java:229)
      	at org.apache.hadoop.hbase.metrics.BaseSourceImpl.<init>(BaseSourceImpl.java:119)
      	at org.apache.hadoop.hbase.metrics.ExceptionTrackingSourceImpl.<init>(ExceptionTrackingSourceImpl.java:47)
      	at org.apache.hadoop.hbase.thrift.MetricsThriftServerSourceImpl.<init>(MetricsThriftServerSourceImpl.java:58)
      	at org.apache.hadoop.hbase.thrift.MetricsThriftServerSourceFactoryImpl.createThriftOneSource(MetricsThriftServerSourceFactoryImpl.java:42)
      	at org.apache.hadoop.hbase.thrift.ThriftMetrics.<init>(ThriftMetrics.java:77)
      	at org.apache.hadoop.hbase.thrift.ThriftServer.createThriftMetrics(ThriftServer.java:206)
      	at org.apache.hadoop.hbase.thrift.ThriftServer.setupParamters(ThriftServer.java:234)
      	at org.apache.hadoop.hbase.thrift.ThriftServer.run(ThriftServer.java:853)
      	at org.apache.hadoop.hbase.thrift.ThriftServerRunner.run(ThriftServerRunner.java:55)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            ndimiduk Nick Dimiduk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: