[
https://issues.apache.org/jira/browse/HDFS-12463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16169770#comment-16169770
]
Yiqun Lin commented on HDFS-12463:
----------------------------------
Hi [~cheersyang], I think you raised up a good point. I have addressed your
comment in HDFS-12268 and attached a new patch there. Since HDFS-12268 was
reopened, I'd like to close this JIRA. Thanks.
> 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
> Assignee: Yiqun Lin
> Priority: Minor
> Attachments: HDFS-12463-HDFS-7240.001.patch
>
>
> {{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: [email protected]
For additional commands, e-mail: [email protected]