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-11494) Log message when DN is not selected for block replication
Date Sat, 04 Mar 2017 03:20:45 GMT

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

Hudson commented on HDFS-11494:
-------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #11347 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/11347/])
HDFS-11494. Log message when DN is not selected for block replication. (liuml07: rev 0f336bab9c070e0cdc935df4305084a036e2def7)
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/DatanodeDescriptor.java


> Log message when DN is not selected for block replication
> ---------------------------------------------------------
>
>                 Key: HDFS-11494
>                 URL: https://issues.apache.org/jira/browse/HDFS-11494
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 3.0.0-alpha2
>            Reporter: Yiqun Lin
>            Assignee: Yiqun Lin
>            Priority: Minor
>             Fix For: 2.9.0, 3.0.0-alpha3
>
>         Attachments: HDFS-11494.001.patch, HDFS-11494.002.patch
>
>
> In HDFS-8946, a important message was removed.
> {code}
> if (requiredSize > remaining - scheduledSize) {
>       logNodeIsNotChosen(storage, "the node does not have enough "
>           + storage.getStorageType() + " space"
>           + " (required=" + requiredSize
>           + ", scheduled=" + scheduledSize
>           + ", remaining=" + remaining + ")");
>       return false;
>     }
> {code}
> This log is important since it can tell us why DN is not selected for block replication.
And it will be good for us to debug issues.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
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