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

Daryn Sharp commented on HDFS-4659:
-----------------------------------

Looking at the failed tests appears to confirm a suspicion of mine that client 
side file creation is relying on the NN to strip the execute bit.  I'd also 
look into the permission checker and ensure it isn't going to make any bad 
determinations based on the presence of the execute bit.
                
> Support setting execution bit for regular files
> -----------------------------------------------
>
>                 Key: HDFS-4659
>                 URL: https://issues.apache.org/jira/browse/HDFS-4659
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 3.0.0
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>         Attachments: HDFS-4659.patch
>
>
> By default regular files are created with mode "rw-r--r--", which is similar 
> as that on many UNIX platforms. However, setting execution bit for regular 
> files are not supported by HDFS. 
> It's the client's choice to set file access mode. HDFS would be easier to use 
> if it can support it, especially when HDFS is accessed by network file system 
> protocols. This JIRA is to track the change to support execution bit. 

--
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