[jira] [Updated] (HBASE-10834) Better error messaging on issuing grant commands in non-authz mode
[ https://issues.apache.org/jira/browse/HBASE-10834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jimmy Xiang updated HBASE-10834: Resolution: Fixed Fix Version/s: 0.94.23 Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) Integrated into 0.94. Thanks Srikanth for the patch. Better error messaging on issuing grant commands in non-authz mode -- Key: HBASE-10834 URL: https://issues.apache.org/jira/browse/HBASE-10834 Project: HBase Issue Type: Bug Components: shell Affects Versions: 0.94.17 Reporter: Srikanth Srungarapu Assignee: Srikanth Srungarapu Priority: Trivial Fix For: 0.94.23 Attachments: HBASE-10834.patch, HBASE-10834_v2.patch, HBASE-10834_v3.patch, HBASE-10834_v4.patch Running the below sequence of steps should give a better error messaging rather than table not found error. {code} hbase(main):009:0 grant test, RWCXA ERROR: Unknown table _acl_! Here is some help for this command: Grant users specific rights. Syntax : grant user permissions [table [column family [column qualifier]] permissions is either zero or more letters from the set RWXCA. READ('R'), WRITE('W'), EXEC('X'), CREATE('C'), ADMIN('A') For example: hbase grant 'bobsmith', 'RWXCA' hbase grant 'bobsmith', 'RW', 't1', 'f1', 'col1' {code} Instead of ERROR: Unknown table _acl_!, hbase should give out a warning like Command not supported in non-authz mode(as acl table is only created if authz is turned on) -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-10834) Better error messaging on issuing grant commands in non-authz mode
[ https://issues.apache.org/jira/browse/HBASE-10834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Srikanth Srungarapu updated HBASE-10834: Attachment: HBASE-10834_v4.patch Attaching updated patch as per suggestions. Better error messaging on issuing grant commands in non-authz mode -- Key: HBASE-10834 URL: https://issues.apache.org/jira/browse/HBASE-10834 Project: HBase Issue Type: Bug Components: shell Affects Versions: 0.94.17 Reporter: Srikanth Srungarapu Assignee: Srikanth Srungarapu Priority: Trivial Attachments: HBASE-10834.patch, HBASE-10834_v2.patch, HBASE-10834_v3.patch, HBASE-10834_v4.patch Running the below sequence of steps should give a better error messaging rather than table not found error. {code} hbase(main):009:0 grant test, RWCXA ERROR: Unknown table _acl_! Here is some help for this command: Grant users specific rights. Syntax : grant user permissions [table [column family [column qualifier]] permissions is either zero or more letters from the set RWXCA. READ('R'), WRITE('W'), EXEC('X'), CREATE('C'), ADMIN('A') For example: hbase grant 'bobsmith', 'RWXCA' hbase grant 'bobsmith', 'RW', 't1', 'f1', 'col1' {code} Instead of ERROR: Unknown table _acl_!, hbase should give out a warning like Command not supported in non-authz mode(as acl table is only created if authz is turned on) -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-10834) Better error messaging on issuing grant commands in non-authz mode
[ https://issues.apache.org/jira/browse/HBASE-10834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Srikanth Srungarapu updated HBASE-10834: Description: Running the below sequence of steps should give a better error messaging rather than table not found error. {code} hbase(main):009:0 grant test, RWCXA ERROR: Unknown table _acl_! Here is some help for this command: Grant users specific rights. Syntax : grant user permissions [table [column family [column qualifier]] permissions is either zero or more letters from the set RWXCA. READ('R'), WRITE('W'), EXEC('X'), CREATE('C'), ADMIN('A') For example: hbase grant 'bobsmith', 'RWXCA' hbase grant 'bobsmith', 'RW', 't1', 'f1', 'col1' {code} Instead of ERROR: Unknown table _acl_!, hbase should give out a warning like Command not supported in non-authz mode(as acl table is only created if authz is turned on) was: Running the below sequence of steps should give a better error messaging rather than table not found error. hbase(main):013:0 create test, {NAME='f1'} gr0 row(s) in 6.1320 seconds hbase(main):014:0 disable test drop test 0 row(s) in 10.2100 seconds hbase(main):015:0 drop test 0 row(s) in 1.0500 seconds hbase(main):016:0 create test, {NAME='f1'} 0 row(s) in 1.0510 seconds hbase(main):017:0 grant systest, RWXCA, test ERROR: Unknown table systest! Instead of ERROR: Unknown table systest!, hbase should give out a warning like Command not supported in non-authz mode(as acl table is only created if authz is turned on) Better error messaging on issuing grant commands in non-authz mode -- Key: HBASE-10834 URL: https://issues.apache.org/jira/browse/HBASE-10834 Project: HBase Issue Type: Bug Components: shell Affects Versions: 0.94.17 Reporter: Srikanth Srungarapu Assignee: Srikanth Srungarapu Priority: Trivial Attachments: HBASE-10834.patch, HBASE-10834_v2.patch Running the below sequence of steps should give a better error messaging rather than table not found error. {code} hbase(main):009:0 grant test, RWCXA ERROR: Unknown table _acl_! Here is some help for this command: Grant users specific rights. Syntax : grant user permissions [table [column family [column qualifier]] permissions is either zero or more letters from the set RWXCA. READ('R'), WRITE('W'), EXEC('X'), CREATE('C'), ADMIN('A') For example: hbase grant 'bobsmith', 'RWXCA' hbase grant 'bobsmith', 'RW', 't1', 'f1', 'col1' {code} Instead of ERROR: Unknown table _acl_!, hbase should give out a warning like Command not supported in non-authz mode(as acl table is only created if authz is turned on) -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-10834) Better error messaging on issuing grant commands in non-authz mode
[ https://issues.apache.org/jira/browse/HBASE-10834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Srikanth Srungarapu updated HBASE-10834: Attachment: HBASE-10834_v3.patch Sorry for overlooking the case where authorization is turned on. Made changes to the patch, which now issues the error message, after ensuring that no _acl_ table exists. Better error messaging on issuing grant commands in non-authz mode -- Key: HBASE-10834 URL: https://issues.apache.org/jira/browse/HBASE-10834 Project: HBase Issue Type: Bug Components: shell Affects Versions: 0.94.17 Reporter: Srikanth Srungarapu Assignee: Srikanth Srungarapu Priority: Trivial Attachments: HBASE-10834.patch, HBASE-10834_v2.patch, HBASE-10834_v3.patch Running the below sequence of steps should give a better error messaging rather than table not found error. {code} hbase(main):009:0 grant test, RWCXA ERROR: Unknown table _acl_! Here is some help for this command: Grant users specific rights. Syntax : grant user permissions [table [column family [column qualifier]] permissions is either zero or more letters from the set RWXCA. READ('R'), WRITE('W'), EXEC('X'), CREATE('C'), ADMIN('A') For example: hbase grant 'bobsmith', 'RWXCA' hbase grant 'bobsmith', 'RW', 't1', 'f1', 'col1' {code} Instead of ERROR: Unknown table _acl_!, hbase should give out a warning like Command not supported in non-authz mode(as acl table is only created if authz is turned on) -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-10834) Better error messaging on issuing grant commands in non-authz mode
[ https://issues.apache.org/jira/browse/HBASE-10834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Srikanth Srungarapu updated HBASE-10834: Attachment: (was: HBASE-10834.patch) Better error messaging on issuing grant commands in non-authz mode -- Key: HBASE-10834 URL: https://issues.apache.org/jira/browse/HBASE-10834 Project: HBase Issue Type: Bug Components: shell Affects Versions: 0.94.17 Reporter: Srikanth Srungarapu Assignee: Srikanth Srungarapu Priority: Trivial Attachments: HBASE-10834.patch, HBASE-10834_v2.patch Running the below sequence of steps should give a better error messaging rather than table not found error. hbase(main):013:0 create test, {NAME='f1'} gr0 row(s) in 6.1320 seconds hbase(main):014:0 disable test drop test 0 row(s) in 10.2100 seconds hbase(main):015:0 drop test 0 row(s) in 1.0500 seconds hbase(main):016:0 create test, {NAME='f1'} 0 row(s) in 1.0510 seconds hbase(main):017:0 grant systest, RWXCA, test ERROR: Unknown table systest! Instead of ERROR: Unknown table systest!, hbase should give out a warning like Command not supported in non-authz mode(as acl table is only created if authz is turned on) -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-10834) Better error messaging on issuing grant commands in non-authz mode
[ https://issues.apache.org/jira/browse/HBASE-10834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Srikanth Srungarapu updated HBASE-10834: Attachment: HBASE-10834_v2.patch Better error messaging on issuing grant commands in non-authz mode -- Key: HBASE-10834 URL: https://issues.apache.org/jira/browse/HBASE-10834 Project: HBase Issue Type: Bug Components: shell Affects Versions: 0.94.17 Reporter: Srikanth Srungarapu Assignee: Srikanth Srungarapu Priority: Trivial Attachments: HBASE-10834.patch, HBASE-10834_v2.patch Running the below sequence of steps should give a better error messaging rather than table not found error. hbase(main):013:0 create test, {NAME='f1'} gr0 row(s) in 6.1320 seconds hbase(main):014:0 disable test drop test 0 row(s) in 10.2100 seconds hbase(main):015:0 drop test 0 row(s) in 1.0500 seconds hbase(main):016:0 create test, {NAME='f1'} 0 row(s) in 1.0510 seconds hbase(main):017:0 grant systest, RWXCA, test ERROR: Unknown table systest! Instead of ERROR: Unknown table systest!, hbase should give out a warning like Command not supported in non-authz mode(as acl table is only created if authz is turned on) -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-10834) Better error messaging on issuing grant commands in non-authz mode
[ https://issues.apache.org/jira/browse/HBASE-10834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Srikanth Srungarapu updated HBASE-10834: Attachment: HBASE-10834.patch Changed the error message to get rid of non-authz term. Better error messaging on issuing grant commands in non-authz mode -- Key: HBASE-10834 URL: https://issues.apache.org/jira/browse/HBASE-10834 Project: HBase Issue Type: Bug Components: shell Affects Versions: 0.94.17 Reporter: Srikanth Srungarapu Assignee: Srikanth Srungarapu Priority: Trivial Attachments: HBASE-10834.patch, HBASE-10834_v2.patch Running the below sequence of steps should give a better error messaging rather than table not found error. hbase(main):013:0 create test, {NAME='f1'} gr0 row(s) in 6.1320 seconds hbase(main):014:0 disable test drop test 0 row(s) in 10.2100 seconds hbase(main):015:0 drop test 0 row(s) in 1.0500 seconds hbase(main):016:0 create test, {NAME='f1'} 0 row(s) in 1.0510 seconds hbase(main):017:0 grant systest, RWXCA, test ERROR: Unknown table systest! Instead of ERROR: Unknown table systest!, hbase should give out a warning like Command not supported in non-authz mode(as acl table is only created if authz is turned on) -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-10834) Better error messaging on issuing grant commands in non-authz mode
[ https://issues.apache.org/jira/browse/HBASE-10834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Srikanth Srungarapu updated HBASE-10834: Status: Patch Available (was: Open) Better error messaging on issuing grant commands in non-authz mode -- Key: HBASE-10834 URL: https://issues.apache.org/jira/browse/HBASE-10834 Project: HBase Issue Type: Bug Components: shell Affects Versions: 0.94.17 Reporter: Srikanth Srungarapu Assignee: Srikanth Srungarapu Priority: Trivial Attachments: HBASE-10834.patch Running the below sequence of steps should give a better error messaging rather than table not found error. hbase(main):013:0 create test, {NAME='f1'} gr0 row(s) in 6.1320 seconds hbase(main):014:0 disable test drop test 0 row(s) in 10.2100 seconds hbase(main):015:0 drop test 0 row(s) in 1.0500 seconds hbase(main):016:0 create test, {NAME='f1'} 0 row(s) in 1.0510 seconds hbase(main):017:0 grant systest, RWXCA, test ERROR: Unknown table systest! Instead of ERROR: Unknown table systest!, hbase should give out a warning like Command not supported in non-authz mode(as acl table is only created if authz is turned on) -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-10834) Better error messaging on issuing grant commands in non-authz mode
[ https://issues.apache.org/jira/browse/HBASE-10834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Srikanth Srungarapu updated HBASE-10834: Attachment: HBASE-10834.patch Verified the patch locally. Better error messaging on issuing grant commands in non-authz mode -- Key: HBASE-10834 URL: https://issues.apache.org/jira/browse/HBASE-10834 Project: HBase Issue Type: Bug Components: shell Affects Versions: 0.94.17 Reporter: Srikanth Srungarapu Assignee: Srikanth Srungarapu Priority: Trivial Attachments: HBASE-10834.patch Running the below sequence of steps should give a better error messaging rather than table not found error. hbase(main):013:0 create test, {NAME='f1'} gr0 row(s) in 6.1320 seconds hbase(main):014:0 disable test drop test 0 row(s) in 10.2100 seconds hbase(main):015:0 drop test 0 row(s) in 1.0500 seconds hbase(main):016:0 create test, {NAME='f1'} 0 row(s) in 1.0510 seconds hbase(main):017:0 grant systest, RWXCA, test ERROR: Unknown table systest! Instead of ERROR: Unknown table systest!, hbase should give out a warning like Command not supported in non-authz mode(as acl table is only created if authz is turned on) -- This message was sent by Atlassian JIRA (v6.2#6252)