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

Yongjun Zhang updated HDFS-10381:
---------------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 2.8.0
           Status: Resolved  (was: Patch Available)

Committed to trunk, branch-2, and branch-2.8.

Thanks [~jzhuge] for the contribution, [~liuml07], [~jojochuang] and 
[~jingzhao] for the review!


> DataStreamer DataNode exclusion log message should be warning
> -------------------------------------------------------------
>
>                 Key: HDFS-10381
>                 URL: https://issues.apache.org/jira/browse/HDFS-10381
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs-client
>    Affects Versions: 2.6.0
>            Reporter: John Zhuge
>            Assignee: John Zhuge
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: HDFS-10381.001.patch
>
>
> When adding a DN to {{excludedNodes}}, it should log a warning message 
> instead of info.
> {code}
>       success = createBlockOutputStream(nodes, storageTypes, 0L, false);
>       if (!success) {
>         LOG.info("Abandoning " + block);
>         dfsClient.namenode.abandonBlock(block, stat.getFileId(), src,
>             dfsClient.clientName);
>         block = null;
>         final DatanodeInfo badNode = nodes[errorState.getBadNodeIndex()];
>         LOG.info("Excluding datanode " + badNode);
>         excludedNodes.put(badNode, badNode);
>       }
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to