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 "Bharat Viswanadham (JIRA)" <ji...@apache.org> on 2018/06/09 06:18:00 UTC

[jira] [Commented] (HDFS-13667) Typo: Marking all "datandoes" as stale

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

Bharat Viswanadham commented on HDFS-13667:
-------------------------------------------

+1 LGTM.

> Typo: Marking all "datandoes" as stale
> --------------------------------------
>
>                 Key: HDFS-13667
>                 URL: https://issues.apache.org/jira/browse/HDFS-13667
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>            Reporter: Wei-Chiu Chuang
>            Assignee: Nanda kumar
>            Priority: Trivial
>         Attachments: HDFS-13667.000.patch
>
>
> {code:title=DatanodeManager#markAllDatanodesStale}
>   public void markAllDatanodesStale() {
>     LOG.info("Marking all datandoes as stale");
>     synchronized (this) {
>       for (DatanodeDescriptor dn : datanodeMap.values()) {
>         for(DatanodeStorageInfo storage : dn.getStorageInfos()) {
>           storage.markStaleAfterFailover();
>         }
>       }
>     }
>   }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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