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

Hudson commented on HADOOP-10191:
---------------------------------

SUCCESS: Integrated in Hadoop-Yarn-trunk #517 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk/517/])
HADOOP-10191. Missing executable permission on viewfs internal dirs. 
Contributed by Gera Shegalov. (cnauroth: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1580170)
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/Constants.java
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ViewFileSystem.java
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ViewFs.java
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/viewfs/ViewFileSystemBaseTest.java


> Missing executable permission on viewfs internal dirs
> -----------------------------------------------------
>
>                 Key: HADOOP-10191
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10191
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: viewfs
>            Reporter: Gera Shegalov
>            Assignee: Gera Shegalov
>            Priority: Blocker
>             Fix For: 3.0.0, 2.4.0
>
>         Attachments: HADOOP-10191.v01.patch
>
>
> ViewFileSystem allows 1) unconditional listing of internal directories (mount 
> points) and 2) and changing work directories.
> 1) requires read permission
> 2) requires executable permission
> However, the hardcoded PERMISSION_RRR == 444 for FileStatus representing an 
> internal dir does not have executable bit set.
> This confuses YARN localizer for public resources on viewfs because it 
> requires executable permission for "other" on all of the ancestor directories 
> of the resource. 
> {code}
> java.io.IOException: Resource viewfs:/pubcache/cache.txt is not publicly 
> accessable and as such cannot be part of the public cache.
>         at org.apache.hadoop.yarn.util.FSDownload.copy(FSDownload.java:182)
>         at 
> org.apache.hadoop.yarn.util.FSDownload.access$000(FSDownload.java:51)
>         at org.apache.hadoop.yarn.util.FSDownload$1.run(FSDownload.java:279)
>         at org.apache.hadoop.yarn.util.FSDownload$1.run(FSDownload.java:277)
> {code}



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

Reply via email to