Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-7282

Sentry privilege disappears after a catalog refresh

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: Impala 3.0, Impala 2.12.0
    • Fix Version/s: None
    • Component/s: Catalog, Security
    • Labels:
    • Epic Color:
      ghx-label-3

      Description

      [localhost:21000] default> grant select on database functional to role foo_role;
      Query: grant select on database functional to role foo_role
      +---------------------------------+
      | summary                         |
      +---------------------------------+
      | Privilege(s) have been granted. |
      +---------------------------------+
      Fetched 1 row(s) in 0.05s
      [localhost:21000] default> grant all on database functional to role foo_role;
      Query: grant all on database functional to role foo_role
      +---------------------------------+
      | summary                         |
      +---------------------------------+
      | Privilege(s) have been granted. |
      +---------------------------------+
      Fetched 1 row(s) in 0.03s
      [localhost:21000] default> show grant role foo_role;
      Query: show grant role foo_role
      +----------+------------+-------+--------+-----+-----------+--------------+-------------+
      | scope    | database   | table | column | uri | privilege | grant_option | create_time |
      +----------+------------+-------+--------+-----+-----------+--------------+-------------+
      | database | functional |       |        |     | select    | false        | NULL        |
      | database | functional |       |        |     | all       | false        | NULL        |
      +----------+------------+-------+--------+-----+-----------+--------------+-------------+
      Fetched 2 row(s) in 0.02s
      [localhost:21000] default> show grant role foo_role;
      Query: show grant role foo_role
      +----------+------------+-------+--------+-----+-----------+--------------+-------------------------------+
      | scope    | database   | table | column | uri | privilege | grant_option | create_time                   |
      +----------+------------+-------+--------+-----+-----------+--------------+-------------------------------+
      | database | functional |       |        |     | all       | false        | Wed, Jul 11 2018 15:38:41.113 |
      +----------+------------+-------+--------+-----+-----------+--------------+-------------------------------+
      Fetched 1 row(s) in 0.01s
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              fredyw Fredy Wijaya
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: