XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 3.2.0
    • Impala 3.3.0
    • Frontend
    • None
    • ghx-label-8

    Description

      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.

      Attachments

        Activity

          People

            fredyw Fredy Wijaya
            fredyw Fredy Wijaya
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: