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

Venkat Ramachandran commented on FALCON-1162:
---------------------------------------------


* Removed exactPerms from the method checkPathOwnerAndPermission() signature
* Added test case to make sure cluster staging dir has 777 permission
* Uploaded patch 2 

Hi @cryptoe, 
can you please review as [~sowmyaramesh] pointed out?
Thanks.

> Cluster submit succeeds when staging HDFS dir does not have 777 (ALL) 
> permission 
> ---------------------------------------------------------------------------------
>
>                 Key: FALCON-1162
>                 URL: https://issues.apache.org/jira/browse/FALCON-1162
>             Project: Falcon
>          Issue Type: Bug
>          Components: common
>    Affects Versions: 0.6
>            Reporter: Venkat Ramachandran
>            Assignee: Venkat Ramachandran
>            Priority: Blocker
>             Fix For: 0.6.1
>
>         Attachments: falcon-1162.1.patch, falcon-1162.2.patch
>
>
> Staging HDFS dir specified in the cluster definition should have WORLD 
> WRITABLE permission. It seems Cluster entity submit used to validate this 
> condition in order to avoid further runtime failures. 
> But, this check had been reverted as part of the FALCON-910 commits (only 
> checks for 755) as below:
> ClusterEntityParser.java   
> {code}
>         checkPathOwnerAndPermission(cluster.getName(),  
> stagingLocation.getPath(), fs, HadoopClientFactory.READ_EXECUTE_PERMISSION, 
> false);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to