[
https://issues.apache.org/jira/browse/HDFS-11251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Manoj Govindassamy updated HDFS-11251:
--------------------------------------
Attachment: HDFS-11251.02.patch
Attached v02 patch to address the following:
1. Added a new test {{TestDataNodeHotSwapVolumes#testAddVolumesConcurrently}}
to recreate the problem of ConcurrentModificationException during addVolume and
fail when run without the proposed fix.
2. HDFS-11267 has been filed to track the checkstyle issue.
PS: testAddVolumesConcurrently currently has 40 new volumes to be added
concurrently. Without fix, this test fails most of the times. You might want to
increase the volume count to a higher number to make it fail all the times.
[~eddyxu], [~linyiqun], can you please take a look at the patch ?
> ConcurrentModificationException during DataNode#refreshVolumes
> --------------------------------------------------------------
>
> Key: HDFS-11251
> URL: https://issues.apache.org/jira/browse/HDFS-11251
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 3.0.0-alpha2
> Reporter: Jason Lowe
> Assignee: Manoj Govindassamy
> Attachments: HDFS-11251.01.patch, HDFS-11251.02.patch
>
>
> The testAddVolumesDuringWrite case failed with a ReconfigurationException
> which appears to have been caused by a ConcurrentModificationException.
> Stacktrace details to follow.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]