[ 
https://issues.apache.org/jira/browse/HDFS-11378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Manoj Govindassamy updated HDFS-11378:
--------------------------------------
    Attachment: HDFS-11378.01.patch

Attached v01 patch to address the following
* A new method {{takeNodeOutofService}} in AdminStatesBaseTest to take in a 
list of DataNodeUUIDs for decommission/maintenance operations
* New test in {{TestDecommission}} to invoke takeNodeOutofService with multiple 
DNs at the same time, verify the replication factor after decommission
* New test in {{TestMaintenanceState}} to invoke takeNodeOutofService with 
multiple DNs at the same time, verify the replication factor before and after 
maintenance operation

[~eddyxu], [~mingma], can you please take a look at the patch ? Thanks.

> Verify multiple DataNodes can be decommissioned/maintenance at the same time
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-11378
>                 URL: https://issues.apache.org/jira/browse/HDFS-11378
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs
>    Affects Versions: 3.0.0-alpha1
>            Reporter: Manoj Govindassamy
>            Assignee: Manoj Govindassamy
>         Attachments: HDFS-11378.01.patch
>
>
> DecommissionManager is capable of transitioning multiple DataNodes to 
> Decommission/Maintenance states. Current tests under TestDecommission and 
> TestMaintenanceState only request for one DataNode for 
> Decommission/Maintenance. Better if we can simulate real world cases whereby 
> multiple DataNodes can be taken out of service and verify the resulting block 
> replication factor for the files.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
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