You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Kuhu Shukla (JIRA)" <ji...@apache.org> on 2017/03/09 18:51:38 UTC

[jira] [Created] (YARN-6315) Improve LocalResourcesTrackerImpl#isResourcePresent to return false for corrupted files

Kuhu Shukla created YARN-6315:
---------------------------------

             Summary: Improve LocalResourcesTrackerImpl#isResourcePresent to return false for corrupted files
                 Key: YARN-6315
                 URL: https://issues.apache.org/jira/browse/YARN-6315
             Project: Hadoop YARN
          Issue Type: Bug
    Affects Versions: 2.7.3, 2.8.1
            Reporter: Kuhu Shukla
            Assignee: Kuhu Shukla


We currently check if a resource is present by making sure that the file exists locally. There can be a case where the LocalizationTracker thinks that it has the resource if the file exists but with size 0 or less than the "expected" size of the LocalResource. This JIRA tracks the change to harden the isResourcePresent call to address that case.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org