avast / avast/hdfs-shell

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

Open
#14 1 comment 0 reactions 0 assignees View on GitHub
bug spring shell
Dominant language
Java
Stars
152
Forks
35
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the hdfs-shell setfacl command shown in the issue and compare its option handling with the successful hdfs dfs invocation. Trace how setfacl arguments are parsed, then verify that `-m user:usrName:--x` is accepted and produces the expected ACL change.

Written by the indexing model from the issue text.

Assessment

Tech stack
hadoop, java
Domain
cli, distributed-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.