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

setfacl: option 'x"' is not available for this command #14

Open
jankrejcik opened this issue Jun 4, 2018 · 1 comment
Open

setfacl: option 'x"' is not available for this command #14

jankrejcik opened this issue Jun 4, 2018 · 1 comment
Labels
bug spring shell problem related with library Spring shell which is used by HDFS Shell

Comments

@jankrejcik
Copy link

Hi, trying to setfacl in hdfs shell with following command:

hdfs-shell /the/path > setfacl -m user:usrName:--x dir

and it fails with:

Option 'x' is not available for this command. Use tab assist or the "help" command to see the legal options

Using hdfs dfs with same stuff is successful:

$ hdfs dfs -setfacl -m user:usrName:--x /the/path/dir

Unfortunately the version command is not helpful in my case:

hdfs-shell /the/path >version
unspecified

Can you confirm, please?

@Vity01
Copy link
Collaborator

Vity01 commented Jun 4, 2018

Hi,
features like command options are given by Hadoop-Client implementation (HDFS Shell dependency). By default (for better compatibility) HDFS Shell integrates version 2.6.0. If you need a higher version you need to rebuild HDFS Shell from sources with updated library.

Edit: I think there is another problem I forgot to mention. Spring Shell limitation, --x might be the problem of its parser. This will be (hopefully) resolved with Spring Shell upgrade in the future.

Version command works fine for a build, it looks like you running it from IDE.

@Vity01 Vity01 added not-a-bug Not a bug spring shell problem related with library Spring shell which is used by HDFS Shell bug and removed not-a-bug Not a bug labels Jun 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug spring shell problem related with library Spring shell which is used by HDFS Shell
Projects
None yet
Development

No branches or pull requests

2 participants