[ 
https://issues.apache.org/jira/browse/HADOOP-2528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Doug Cutting updated HADOOP-2528:
---------------------------------

    Attachment: HADOOP-2528-0.patch

Here's a candidate patch for this issue.

This also adds generic permission checking methods to FileSystem.  Is this the 
best place for these?  Do they look correct to folks?  Should we also use these 
utilities within HDFS to check permissions?

Note that it also adds some missing listStatus() methods to FileSystem.java, 
required to efficiently implement permission checking, and deprecates more 
listPaths() methods.

Finally, we should replace the FileSystem#globPaths methods with 
FileSystem#$globStatus() methods, no?


> check permissions for job inputs and outputs
> --------------------------------------------
>
>                 Key: HADOOP-2528
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2528
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: mapred
>            Reporter: Doug Cutting
>             Fix For: 0.16.0
>
>         Attachments: HADOOP-2528-0.patch
>
>
> On job submission, filesystem permissions should be checked to ensure that 
> the input directory is readable and that the output directory is writable.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to