You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Araceli Henley (JIRA)" <ji...@apache.org> on 2011/07/14 00:13:00 UTC

[jira] [Commented] (PIG-2158) dot Next integration with Pig 0.9 - mount side table is read only

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

Araceli Henley commented on PIG-2158:
-------------------------------------

I know what the problem is.
When I was accessing the grunt shell I typed "pig" which picked up the pig that was in my path instead of the $PIG_HOME/bin/pig.

If I use:

$PIG_HOME/bin/pig to access grunt, then it works as expected.

> dot Next integration with Pig 0.9 - mount side table is read only
> -----------------------------------------------------------------
>
>                 Key: PIG-2158
>                 URL: https://issues.apache.org/jira/browse/PIG-2158
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>            Reporter: Araceli Henley
>             Fix For: 0.9.0
>
>
> Creating a direcotry from hdfs directly on either namenode works:
> hadoop fs -mkdir hdfs://namenode1/user/hadoopqa/pig/out1/foo1
> hadoop fs -mkdir hdfs://namenode2/user/hadoopqa/pig/out2/foo2
> hadoop fs -ls hdfs://namenode2/user/hadoopqa/pig/out2/
> drwxr-xr-x   - hadoopqa hdfs          0 2011-07-13 01:07 /out2/foo2
> Creating it on the second name bnode with a mount side table works:
> hadoop fs -mkdir /out2/foo3
> hadoop fs -ls /out2
> drwxr-xr-x   - hadoopqa hdfs          0 2011-07-13 01:07 /out2/foo2
> drwxr-xr-x   - hadoopqa hdfs          0 2011-07-13 02:47 /out2/foo3
> Creating it from grunt fails with a readonly error:
> grunt> fs -mkdir /out2/foo4
> mkdir: Permission denied: user=araceli, access=WRITE, inode="/user/hadoopqa/pig/out2":hadoopqa:hdfs:drwxr-xr-x

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira