hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manoj Govindassamy (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-11251) ConcurrentModificationException during DataNode#refreshVolumes
Date Tue, 27 Dec 2016 23:58:58 GMT

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


Mime
View raw message