[ 
https://issues.apache.org/jira/browse/HADOOP-5349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12677349#action_12677349
 ] 

Vinod K V commented on HADOOP-5349:
-----------------------------------

When the size required is unknown, LocalDirAllocator selects one target disk in 
a round-robin fashion. Before returning this path, it tries to create the path. 
If the selected disk turns about to be bad, then 
LocalDirAllocator.getLocalPathForWrite fails with a DiskCheckerException. The 
fix for this is to make getLocalPathWrite to try other disks till it finds one, 
similar to the case when required size of the path is known.

> When the size required for a path is -1, 
> LocalDirAllocator.getLocalPathForWrite fails with a DiskCheckerException when 
> the disk it selects is bad.
> --------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-5349
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5349
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: mapred
>    Affects Versions: 0.20.0
>            Reporter: Vinod K V
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to