[ 
https://issues.apache.org/jira/browse/PIG-498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12892593#action_12892593
 ] 

niraj rai commented on PIG-498:
-------------------------------

Hi Olga,
              Yes, this has been fixed. 
Thanks
Niraj

> Pig does not error out while trying to use a input file to which the user 
> does not have access permissions
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: PIG-498
>                 URL: https://issues.apache.org/jira/browse/PIG-498
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.2.0
>            Reporter: Pradeep Kamath
>            Assignee: niraj rai
>             Fix For: 0.8.0
>
>
> Session illustrating the issue.
> {code}
> bash-3.00$ hadoop fs -ls /data/statistics.txt
> ls: org.apache.hadoop.fs.permission.AccessControlException: Permission 
> denied: user=<username>, access=READ_EXECUTE, inode="<inode>"<permissions>-
> bash-3.00$ pig -latest 
> 2008-10-16 23:31:25,134 [main] INFO  
> org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting 
> to HOD...
> ...
> 2008-10-16 23:34:45,810 [main] INFO  
> org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting 
> to hadoop file system at: local
> grunt> a = load '/data/statistics.txt';      
> grunt> dump a;
> 2008-10-16 23:39:05,624 [main] INFO  
> org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher
>  - 100% complete
> 2008-10-16 23:39:05,624 [main] INFO  
> org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher
>  - Success!
> grunt> 
> {code}

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