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

Bikas Saha commented on TEZ-817:
--------------------------------

Can we move these deletes to a finally block?
+    subDirFile.deleteOnExit();

These API's are known to not work properly on Windows (at least till JDK 6). 
Does this test work on Windows? Its fine if it does not. We can just check for 
(Hadoop) Shell.windows and ignore if true.
privateFile.setReadable()

Rest looks good.

> TEZ_LIB_URI are always uploaded as public Local Resource
> --------------------------------------------------------
>
>                 Key: TEZ-817
>                 URL: https://issues.apache.org/jira/browse/TEZ-817
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Bikas Saha
>            Assignee: Prakash Ramachandran
>            Priority: Critical
>         Attachments: TEZ-817.1.patch, TEZ-817.2.patch, TEZ-817.3.patch
>
>
> They can point to any remote location that may be specific to a user (if the 
> user is playing with a private build). In that case, job submission will fail 
> since YARN will complain that the public LR is not public on the remote FS.



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

Reply via email to