hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-10381) DataStreamer DataNode exclusion log message should be warning
Date Tue, 17 May 2016 23:24:13 GMT

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

Hudson commented on HDFS-10381:
-------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #9810 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/9810/])
HDFS-10381, DataStreamer DataNode exclusion log message should be (yzhang: rev 16c07cc68a3e0a06f57b7f4c7207cc8e5dce211f)
* hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DataStreamer.java
* hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/StripedDataStreamer.java


> 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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message