[jira] [Updated] (HDFS-9852) hdfs dfs -setfacl error message is misleading
[ https://issues.apache.org/jira/browse/HDFS-9852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Nauroth updated HDFS-9852: Affects Version/s: (was: 3.0.0-alpha1) Fix Version/s: (was: 3.0.0-alpha1) 2.8.0 I cherry-picked this to branch-2 and branch-2.8. > hdfs dfs -setfacl error message is misleading > - > > Key: HDFS-9852 > URL: https://issues.apache.org/jira/browse/HDFS-9852 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: Wei-Chiu Chuang >Assignee: Wei-Chiu Chuang >Priority: Minor > Labels: supportability > Fix For: 2.8.0 > > Attachments: HDFS-9852.001.patch, HDFS-9852.002.patch > > > When I type > {noformat}hdfs dfs -setfacl -m default:user::rwx{noformat} > It prints error message: > {noformat} > -setfacl: is missing > Usage: hadoop fs [generic options] -setfacl [-R] [{-b|-k} {-m|-x } > ]|[--set ] > {noformat} > But actually, it's the path that I missed. A correct command should be > {noformat} > hdfs dfs -setfacl -m default:user::rwx /data > {noformat} > In fact, > {noformat}-setfacl -x | -m | --set{noformat} expects two parameters. > We should print error message like this if it misses one: > {noformat} > -setfacl: Missing either or > {noformat} > and print the following if it misses two: > {noformat} > -setfacl: Missing arguments: > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-9852) hdfs dfs -setfacl error message is misleading
[ https://issues.apache.org/jira/browse/HDFS-9852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Allen Wittenauer updated HDFS-9852: --- Resolution: Fixed Fix Version/s: 3.0.0-alpha1 Status: Resolved (was: Patch Available) +1 committed to trunk. Thanks! > hdfs dfs -setfacl error message is misleading > - > > Key: HDFS-9852 > URL: https://issues.apache.org/jira/browse/HDFS-9852 > Project: Hadoop HDFS > Issue Type: Bug >Affects Versions: 3.0.0-alpha1 >Reporter: Wei-Chiu Chuang >Assignee: Wei-Chiu Chuang >Priority: Minor > Labels: supportability > Fix For: 3.0.0-alpha1 > > Attachments: HDFS-9852.001.patch, HDFS-9852.002.patch > > > When I type > {noformat}hdfs dfs -setfacl -m default:user::rwx{noformat} > It prints error message: > {noformat} > -setfacl: is missing > Usage: hadoop fs [generic options] -setfacl [-R] [{-b|-k} {-m|-x } > ]|[--set ] > {noformat} > But actually, it's the path that I missed. A correct command should be > {noformat} > hdfs dfs -setfacl -m default:user::rwx /data > {noformat} > In fact, > {noformat}-setfacl -x | -m | --set{noformat} expects two parameters. > We should print error message like this if it misses one: > {noformat} > -setfacl: Missing either or > {noformat} > and print the following if it misses two: > {noformat} > -setfacl: Missing arguments: > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-9852) hdfs dfs -setfacl error message is misleading
[ https://issues.apache.org/jira/browse/HDFS-9852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei-Chiu Chuang updated HDFS-9852: -- Priority: Minor (was: Trivial) > hdfs dfs -setfacl error message is misleading > - > > Key: HDFS-9852 > URL: https://issues.apache.org/jira/browse/HDFS-9852 > Project: Hadoop HDFS > Issue Type: Bug >Affects Versions: 3.0.0 >Reporter: Wei-Chiu Chuang >Assignee: Wei-Chiu Chuang >Priority: Minor > Labels: supportability > Attachments: HDFS-9852.001.patch, HDFS-9852.002.patch > > > When I type > {noformat}hdfs dfs -setfacl -m default:user::rwx{noformat} > It prints error message: > {noformat} > -setfacl: is missing > Usage: hadoop fs [generic options] -setfacl [-R] [{-b|-k} {-m|-x } > ]|[--set ] > {noformat} > But actually, it's the path that I missed. A correct command should be > {noformat} > hdfs dfs -setfacl -m default:user::rwx /data > {noformat} > In fact, > {noformat}-setfacl -x | -m | --set{noformat} expects two parameters. > We should print error message like this if it misses one: > {noformat} > -setfacl: Missing either or > {noformat} > and print the following if it misses two: > {noformat} > -setfacl: Missing arguments: > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HDFS-9852) hdfs dfs -setfacl error message is misleading
[ https://issues.apache.org/jira/browse/HDFS-9852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei-Chiu Chuang updated HDFS-9852: -- Attachment: HDFS-9852.002.patch Rev02: Added another scenario: hdfs dfs -setfacl should also emit error message if none of the expected options (-x, -m, -b, -k, --set) appear. Added test cases for the new scenario. > hdfs dfs -setfacl error message is misleading > - > > Key: HDFS-9852 > URL: https://issues.apache.org/jira/browse/HDFS-9852 > Project: Hadoop HDFS > Issue Type: Bug >Affects Versions: 3.0.0 >Reporter: Wei-Chiu Chuang >Assignee: Wei-Chiu Chuang >Priority: Trivial > Labels: supportability > Attachments: HDFS-9852.001.patch, HDFS-9852.002.patch > > > When I type > {noformat}hdfs dfs -setfacl -m default:user::rwx{noformat} > It prints error message: > {noformat} > -setfacl: is missing > Usage: hadoop fs [generic options] -setfacl [-R] [{-b|-k} {-m|-x } > ]|[--set ] > {noformat} > But actually, it's the path that I missed. A correct command should be > {noformat} > hdfs dfs -setfacl -m default:user::rwx /data > {noformat} > In fact, > {noformat}-setfacl -x | -m | --set{noformat} expects two parameters. > We should print error message like this if it misses one: > {noformat} > -setfacl: Missing either or > {noformat} > and print the following if it misses two: > {noformat} > -setfacl: Missing arguments: > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HDFS-9852) hdfs dfs -setfacl error message is misleading
[ https://issues.apache.org/jira/browse/HDFS-9852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei-Chiu Chuang updated HDFS-9852: -- Description: When I type {noformat}hdfs dfs -setfacl -m default:user::rwx{noformat} It prints error message: {noformat} -setfacl: is missing Usage: hadoop fs [generic options] -setfacl [-R] [{-b|-k} {-m|-x } ]|[--set ] {noformat} But actually, it's the path that I missed. A correct command should be {noformat} hdfs dfs -setfacl -m default:user::rwx /data {noformat} In fact, {noformat}-setfacl -x | -m | --set{noformat} expects two parameters. We should print error message like this if it misses one: {noformat} -setfacl: Missing either or {noformat} and print the following if it misses two: {noformat} -setfacl: Missing arguments: {noformat} was: When I type {noformat}hdfs dfs -setfacl -m default:user::rwx{noformat} It prints error message: {noformat} -setfacl: is missing Usage: hadoop fs [generic options] -setfacl [-R] [{-b|-k} {-m|-x } ]|[--set ] {noformat} But actually, it's the path that I missed. A correct command should be {noformat} hdfs dfs -setfacl -m default:user::rwx /data {noformat} {noformat}-setfacl -x | -m | --set{noformat} expects two parameters. We should print error message like this if it misses one: {noformat} -setfacl: Missing either or {noformat} and print the following if it misses two: {noformat} -setfacl: Missing arguments: {noformat} > hdfs dfs -setfacl error message is misleading > - > > Key: HDFS-9852 > URL: https://issues.apache.org/jira/browse/HDFS-9852 > Project: Hadoop HDFS > Issue Type: Bug >Affects Versions: 3.0.0 >Reporter: Wei-Chiu Chuang >Assignee: Wei-Chiu Chuang >Priority: Trivial > Labels: supportability > Attachments: HDFS-9852.001.patch > > > When I type > {noformat}hdfs dfs -setfacl -m default:user::rwx{noformat} > It prints error message: > {noformat} > -setfacl: is missing > Usage: hadoop fs [generic options] -setfacl [-R] [{-b|-k} {-m|-x } > ]|[--set ] > {noformat} > But actually, it's the path that I missed. A correct command should be > {noformat} > hdfs dfs -setfacl -m default:user::rwx /data > {noformat} > In fact, > {noformat}-setfacl -x | -m | --set{noformat} expects two parameters. > We should print error message like this if it misses one: > {noformat} > -setfacl: Missing either or > {noformat} > and print the following if it misses two: > {noformat} > -setfacl: Missing arguments: > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HDFS-9852) hdfs dfs -setfacl error message is misleading
[ https://issues.apache.org/jira/browse/HDFS-9852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei-Chiu Chuang updated HDFS-9852: -- Description: When I type {noformat}hdfs dfs -setfacl -m default:user::rwx{noformat} It prints error message: {noformat} -setfacl: is missing Usage: hadoop fs [generic options] -setfacl [-R] [{-b|-k} {-m|-x } ]|[--set ] {noformat} But actually, it's the path that I missed. A correct command should be {noformat} hdfs dfs -setfacl -m default:user::rwx /data {noformat} {noformat}-setfacl -x | -m | --set{noformat} expects two parameters. We should print error message like this if it misses one: {noformat} -setfacl: Missing either or {noformat} and print the following if it misses two: {noformat} -setfacl: Missing arguments: {noformat} was: When I type hdfs dfs -setfacl -m default:user::rwx It prints error message: {noformat} -setfacl: is missing Usage: hadoop fs [generic options] -setfacl [-R] [{-b|-k} {-m|-x } ]|[--set ] {noformat} But actually, it's the path that I missed. A correct command should be {noformat} hdfs dfs -setfacl -m default:user::rwx /data {noformat} \-setfacl \-m \-x \-\-set expects two parameters. We should print error message like this if it misses one: {noformat} -setfacl: Missing either or {noformat} and print the following if it misses two: {noformat} -setfacl: Missing arguments: {noformat} > hdfs dfs -setfacl error message is misleading > - > > Key: HDFS-9852 > URL: https://issues.apache.org/jira/browse/HDFS-9852 > Project: Hadoop HDFS > Issue Type: Bug >Affects Versions: 3.0.0 >Reporter: Wei-Chiu Chuang >Assignee: Wei-Chiu Chuang >Priority: Trivial > Labels: supportability > Attachments: HDFS-9852.001.patch > > > When I type > {noformat}hdfs dfs -setfacl -m default:user::rwx{noformat} > It prints error message: > {noformat} > -setfacl: is missing > Usage: hadoop fs [generic options] -setfacl [-R] [{-b|-k} {-m|-x } > ]|[--set ] > {noformat} > But actually, it's the path that I missed. A correct command should be > {noformat} > hdfs dfs -setfacl -m default:user::rwx /data > {noformat} > {noformat}-setfacl -x | -m | --set{noformat} expects two parameters. > We should print error message like this if it misses one: > {noformat} > -setfacl: Missing either or > {noformat} > and print the following if it misses two: > {noformat} > -setfacl: Missing arguments: > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HDFS-9852) hdfs dfs -setfacl error message is misleading
[ https://issues.apache.org/jira/browse/HDFS-9852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei-Chiu Chuang updated HDFS-9852: -- Attachment: HDFS-9852.001.patch Rev01: added more accurate error message. > hdfs dfs -setfacl error message is misleading > - > > Key: HDFS-9852 > URL: https://issues.apache.org/jira/browse/HDFS-9852 > Project: Hadoop HDFS > Issue Type: Bug >Affects Versions: 3.0.0 >Reporter: Wei-Chiu Chuang >Assignee: Wei-Chiu Chuang >Priority: Trivial > Labels: supportability > Attachments: HDFS-9852.001.patch > > > When I type > hdfs dfs -setfacl -m default:user::rwx > It prints error message: > {noformat} > -setfacl: is missing > Usage: hadoop fs [generic options] -setfacl [-R] [{-b|-k} {-m|-x } > ]|[--set ] > {noformat} > But actually, it's the path that I missed. A correct command should be > {noformat} > hdfs dfs -setfacl -m default:user::rwx /data > {noformat} > \-setfacl \-m \-x \-\-set expects two parameters. > We should print error message like this if it misses one: > {noformat} > -setfacl: Missing either or > {noformat} > and print the following if it misses two: > {noformat} > -setfacl: Missing arguments: > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HDFS-9852) hdfs dfs -setfacl error message is misleading
[ https://issues.apache.org/jira/browse/HDFS-9852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei-Chiu Chuang updated HDFS-9852: -- Status: Patch Available (was: Open) > hdfs dfs -setfacl error message is misleading > - > > Key: HDFS-9852 > URL: https://issues.apache.org/jira/browse/HDFS-9852 > Project: Hadoop HDFS > Issue Type: Bug >Affects Versions: 3.0.0 >Reporter: Wei-Chiu Chuang >Assignee: Wei-Chiu Chuang >Priority: Trivial > Labels: supportability > Attachments: HDFS-9852.001.patch > > > When I type > hdfs dfs -setfacl -m default:user::rwx > It prints error message: > {noformat} > -setfacl: is missing > Usage: hadoop fs [generic options] -setfacl [-R] [{-b|-k} {-m|-x } > ]|[--set ] > {noformat} > But actually, it's the path that I missed. A correct command should be > {noformat} > hdfs dfs -setfacl -m default:user::rwx /data > {noformat} > \-setfacl \-m \-x \-\-set expects two parameters. > We should print error message like this if it misses one: > {noformat} > -setfacl: Missing either or > {noformat} > and print the following if it misses two: > {noformat} > -setfacl: Missing arguments: > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)