[jira] [Updated] (HDFS-11378) Verify multiple DataNodes can be decommissioned/maintenance at the same time

2017-01-27 Thread Ming Ma (JIRA)

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

Ming Ma updated HDFS-11378:
---
   Resolution: Fixed
 Hadoop Flags: Reviewed
Fix Version/s: 3.0.0-alpha3
   2.9.0
   Status: Resolved  (was: Patch Available)

+1. Thanks [~manojg] for the contribution. I have committed it to trunk and 
branch-2.

> 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
> Fix For: 2.9.0, 3.0.0-alpha3
>
> 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



[jira] [Updated] (HDFS-11378) Verify multiple DataNodes can be decommissioned/maintenance at the same time

2017-01-26 Thread Manoj Govindassamy (JIRA)

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

Manoj Govindassamy updated HDFS-11378:
--
Status: Patch Available  (was: Open)

> 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



[jira] [Updated] (HDFS-11378) Verify multiple DataNodes can be decommissioned/maintenance at the same time

2017-01-26 Thread Manoj Govindassamy (JIRA)

 [ 
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