sandeepkru / kosmosfs

Automatically exported from code.google.com/p/kosmosfs
Apache License 2.0
0 stars 0 forks source link

No File Permission Support? #14

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I tried to use KFS-0.5 with Hadoop-1.0.3. When I ran a job,
I got the error information:
ERROR security.UserGroupInformation: PriviledgedActionException as:hadoop 
cause:java.io.IOException: The ownership/permissions on the staging directory 
kfs://mars:20000/tmp/hadoop-hadoop/mapred/staging/hadoop/.staging is not as 
expected. It is owned by  and permissions are rwxrwxrwx. The directory must be 
owned by the submitter hadoop or by hadoop and permissions must be rwx------

`bin/hadoop fs -ls` shows all files have the rwxrwxrwx permission.
kfsshell doesn't list permission.
class KfsClient doesn't seem to have something like chmod or chown.

Does KFS not support file permission?

Thanks,
Gary

Original issue reported on code.google.com by lgh.h...@gmail.com on 31 Jul 2012 at 1:49

GoogleCodeExporter commented 8 years ago
The following command is OK.
$ bin/start-all.sh
$ bin/hadoop jar hadoop-examples-1.0.3.jar grep kfs://mars:2345/input 
kfs://mars:2345/output2 'dfs[a-z.]+'

Seems I can't use KFS as the default FS.

Original comment by lgh.h...@gmail.com on 31 Jul 2012 at 4:31