Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
0.9.0
-
None
-
None
Description
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