You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Weiwei Yang (JIRA)" <ji...@apache.org> on 2017/09/15 06:17:00 UTC

[jira] [Created] (HDFS-12463) Ozone: Fix TestXceiverClientMetrics#testMetrics

Weiwei Yang created HDFS-12463:
----------------------------------

             Summary: Ozone: Fix TestXceiverClientMetrics#testMetrics 
                 Key: HDFS-12463
                 URL: https://issues.apache.org/jira/browse/HDFS-12463
             Project: Hadoop HDFS
          Issue Type: Sub-task
          Components: ozone
    Affects Versions: HDFS-7240
            Reporter: Weiwei Yang
            Priority: Minor


{{TestXceiverClientMetrics#testMetrics}} is failing with following error in recent jenkins job,

{noformat}
java.util.ConcurrentModificationException: null
	at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:901)
	at java.util.ArrayList$Itr.next(ArrayList.java:851)
	at org.apache.hadoop.ozone.scm.TestXceiverClientMetrics.lambda$testMetrics$2(TestXceiverClientMetrics.java:134)
{noformat}

looks like a non thread safe list caused this race condition in the test case.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org