You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Virajith Jalaparti (JIRA)" <ji...@apache.org> on 2017/11/03 21:31:01 UTC

[jira] [Commented] (HDFS-12607) [READ] Even one dead datanode with PROVIDED storage results in ProvidedStorageInfo being marked as FAILED

    [ https://issues.apache.org/jira/browse/HDFS-12607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16238423#comment-16238423 ] 

Virajith Jalaparti commented on HDFS-12607:
-------------------------------------------

Posting a rebased patch. It also removes a extra flag ({{hasDNs}}) and uses {{providedDescriptor.activeProvidedDatanodes()}} instead.

> [READ] Even one dead datanode with PROVIDED storage results in ProvidedStorageInfo being marked as FAILED
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-12607
>                 URL: https://issues.apache.org/jira/browse/HDFS-12607
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Virajith Jalaparti
>            Assignee: Virajith Jalaparti
>            Priority: Major
>         Attachments: HDFS-12607-HDFS-9806.001.patch, HDFS-12607-HDFS-9806.002.patch, HDFS-12607-HDFS-9806.003.patch, HDFS-12607.repro.patch
>
>
> When a DN configured with PROVIDED storage is marked as dead by the NN, the state of {{providedStorageInfo}} in {{ProvidedStorageMap}} is set to FAILED, and never becomes NORMAL. The state should change to FAILED only if all datanodes with PROVIDED storage are dead, and should be restored back to NORMAL when a Datanode with NORMAL DatanodeStorage reports in.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org