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-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to