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

Chris Nauroth commented on YARN-583:
------------------------------------

Hi, Omkar.  Nice to meet you!

{code}
     String path =
         "." + Path.SEPARATOR + ContainerLocalizer.USERCACHE + Path.SEPARATOR
             + user + Path.SEPARATOR + ContainerLocalizer.APPCACHE
-            + Path.SEPARATOR + appId;
+            + Path.SEPARATOR + appId + ContainerLocalizer.FILECACHE;
{code}

It looks like you'll need to add another path separator after the appId.  Also, 
this might read better by using {{StringUtils#join}}, so that you won't need 
the repeated references to {{Path.SEPARATOR}}.
                
> Application cache files should be localized under 
> local-dir/usercache/userid/appcache/appid/filecache
> -----------------------------------------------------------------------------------------------------
>
>                 Key: YARN-583
>                 URL: https://issues.apache.org/jira/browse/YARN-583
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Omkar Vinit Joshi
>            Assignee: Omkar Vinit Joshi
>         Attachments: yarn-583-20130416.patch
>
>
> Currently application cache files are getting localized under 
> local-dir/usercache/userid/appcache/appid/. however they should be localized 
> under filecache sub directory.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to