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

Hitesh Shah commented on TEZ-2618:
----------------------------------

[~saikatr] [~jlowe] Mind adding more details on this? I have the same question 
on why local disk can fail but http to the same data can succeed. Is this even 
a problem to try solving? 

> In Ordered Fetcher, if Local Fetch fails, fallback and try http Fetch before 
> returning a failure
> ------------------------------------------------------------------------------------------------
>
>                 Key: TEZ-2618
>                 URL: https://issues.apache.org/jira/browse/TEZ-2618
>             Project: Apache Tez
>          Issue Type: Improvement
>            Reporter: Saikat
>            Assignee: Saikat
>         Attachments: TEZ-2618.1.patch, TEZ-2618.patch
>
>
> In setupLocalDiskFetch() method[this is invoked when the fetcher is in the 
> same host as the target map host], first try to check if we can open the 
> target spill file using the localDirAllocator.getLocalPathToRead(). The 
> localDirAllocator searches through the list of configured dirs for the file. 
> In disk full scenarios, if the path is not found, fetcher should to try an 
> http fetch.
> proposed solution:
> in local fetch mode, the fetcher should first try getLocalPathToRead() for 
> all the pending maps. and  So local fetch gets divided into 2 stages: first 
> the maps for which path was found via LocalDirAllocator and second construct 
> a http fallback fetch list for the maps which couldnt be found via 
> LocalDirAllocator.getLocalPathToRead() and do an http fetch.



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

Reply via email to