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

Arun C Murthy commented on HADOOP-2528:
---------------------------------------

I'm with Doug on the need for failing early if either of the input or output 
directories aren't readable/writable.

I'm wondering if it makes sense to add utility apis in fs which given a 
directory name checks for existence, validates against given set of permissions 
etc. We could then use this to validate the job inputs via a single rpc, rather 
than one per file as today (without this patch). Thoughts?

> 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, HADOOP-2528-1.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