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

Kihwal Lee commented on HDFS-6965:
----------------------------------

Yes checking at storage level should be sufficient.  Whenever a node is chosen, 
 {{chooseLocalStorage()}} and {{chooseRandom()}} iterate over storage objects 
in random order and pick the first one that is acceptable. So 
{{storage.getRemaining()}} is the correct check.

> NN continues to issue block locations for DNs with full disks
> -------------------------------------------------------------
>
>                 Key: HDFS-6965
>                 URL: https://issues.apache.org/jira/browse/HDFS-6965
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 2.0.0-alpha, 3.0.0
>            Reporter: Daryn Sharp
>            Assignee: chang li
>
> Encountered issues where DNs have less space than a full block and reject 
> incoming transfers.  The NN continues giving out locations for these nodes 
> for some period of time.  It does not appear to be related to the DN's cached 
> disk usage.
> One impact is required replications are delayed when a full DN is chosen for 
> the pipeline.  A DN cannot report a broken pipeline so the replication must 
> timeout (5m) before new targets are chosen.



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

Reply via email to