You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Fredy Wijaya (JIRA)" <ji...@apache.org> on 2019/06/11 22:04:00 UTC

[jira] [Updated] (IMPALA-8649) Confusing error messages in SHOW GRANT statements

     [ https://issues.apache.org/jira/browse/IMPALA-8649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fredy Wijaya updated IMPALA-8649:
---------------------------------
    Summary: Confusing error messages in SHOW GRANT statements  (was: Confusing error messages in PrivilegeSpec)

> Confusing error messages in SHOW GRANT statements
> -------------------------------------------------
>
>                 Key: IMPALA-8649
>                 URL: https://issues.apache.org/jira/browse/IMPALA-8649
>             Project: IMPALA
>          Issue Type: Sub-task
>          Components: Frontend
>    Affects Versions: Impala 3.2.0
>            Reporter: Fredy Wijaya
>            Assignee: Fredy Wijaya
>            Priority: Major
>
> Some error messages in PrivilegeSpec are confusing. For example:
> https://github.com/apache/impala/blob/d753600f9cf4bda0c955f0f5eecc6fb41b0c365e/fe/src/main/java/org/apache/impala/analysis/PrivilegeSpec.java#L204-L206
> https://github.com/apache/impala/blob/d753600f9cf4bda0c955f0f5eecc6fb41b0c365e/fe/src/main/java/org/apache/impala/analysis/PrivilegeSpec.java#L254-L258
> https://github.com/apache/impala/blob/d753600f9cf4bda0c955f0f5eecc6fb41b0c365e/fe/src/main/java/org/apache/impala/analysis/PrivilegeSpec.java#L287-L289
> We should still aim to not reveal the existence of an object, however the message "Error setting privileges" and "Verify that you have permissions to issue GRANT/REVOKE statement" can be misleading since PrivilegeSpec is also used for "SHOW GRANT", which doesn't set any privileges.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org