You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Ashish Kumar (JIRA)" <ji...@apache.org> on 2014/03/06 11:36:42 UTC

[jira] [Created] (YARN-1791) Distributed cache issue using YARN

Ashish Kumar created YARN-1791:
----------------------------------

             Summary: Distributed cache issue using YARN
                 Key: YARN-1791
                 URL: https://issues.apache.org/jira/browse/YARN-1791
             Project: Hadoop YARN
          Issue Type: Bug
            Reporter: Ashish Kumar


If I want to have two cache files a/b/c and d/e/c for an MR job then is there any way to access Path of these files while reading it in Map or Reduce task?
I'm using *job.addCacheFile(hdfsPath.toUri());* And then I'm accessing all cache file paths using *context.getLocalCacheFiles()* which returns all paths as given below:

/yarn/?/?/?/1234/c and /yarn/?/?/?/2345/c

But these paths don't have any folder level info so I'm not able to identify which path is representing a/b/c. Is it bug?
Please help.

Thanks,
Ashish



--
This message was sent by Atlassian JIRA
(v6.2#6252)