Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No File Permission Support? #14

Open
GoogleCodeExporter opened this issue Mar 16, 2016 · 1 comment
Open

No File Permission Support? #14

GoogleCodeExporter opened this issue Mar 16, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant