You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Pradeep Kamath (JIRA)" <ji...@apache.org> on 2008/10/23 02:58:44 UTC
[jira] Updated: (PIG-507) Pig does not error out while trying to
use a input directory to which the user does not have access permissions
[ https://issues.apache.org/jira/browse/PIG-507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pradeep Kamath updated PIG-507:
-------------------------------
Description:
Session illustrating the issue.
{noformat}
bash-3.00$ hadoop fs -ls /data/unaccesible_dir
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/unaccesible_dir';
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>
{noformat}
was:
Session illustrating the issue.
{noformat}
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>
{noformat}
> Pig does not error out while trying to use a input directory to which the user does not have access permissions
> ---------------------------------------------------------------------------------------------------------------
>
> Key: PIG-507
> URL: https://issues.apache.org/jira/browse/PIG-507
> Project: Pig
> Issue Type: Bug
> Affects Versions: types_branch
> Reporter: Pradeep Kamath
> Assignee: Pradeep Kamath
> Fix For: types_branch
>
>
> Session illustrating the issue.
> {noformat}
> bash-3.00$ hadoop fs -ls /data/unaccesible_dir
> 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/unaccesible_dir';
> 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>
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.