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)