Hive
  1. Hive
  2. HIVE-2405

get_privilege does not get user level privilege

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8.0
    • Component/s: Authorization, Security
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      hive> set hive.security.authorization.enabled=true;
      hive> grant all to user heyongqiang;
      hive> show grant user heyongqiang;
      principalName heyongqiang
      principalType USER
      privilege All
      grantTime Wed Aug 24 11:51:54 PDT 2011
      grantor heyongqiang
      Time taken: 0.032 seconds
      hive> CREATE TABLE src (foo INT, bar STRING);
      Authorization failed:No privilege 'Create' found for outputs

      { database:default}

      . Use show grant to get more details.

      1. HIVE-2405.1.patch
        4 kB
        He Yongqiang
      2. HIVE-2405.2.patch
        5 kB
        He Yongqiang

        Activity

        He Yongqiang created issue -
        He Yongqiang made changes -
        Field Original Value New Value
        Attachment HIVE-2405.1.patch [ 12491541 ]
        He Yongqiang made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        He Yongqiang made changes -
        Attachment HIVE-2405.2.patch [ 12491561 ]
        John Sichi made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Fix Version/s 0.9.0 [ 12317742 ]
        Resolution Fixed [ 1 ]
        Carl Steinbach made changes -
        Fix Version/s 0.8.0 [ 12316178 ]
        Carl Steinbach made changes -
        Fix Version/s 0.9.0 [ 12317742 ]
        Carl Steinbach made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Carl Steinbach made changes -
        Component/s Authorization [ 12317300 ]
        Component/s Security [ 12313866 ]

          People

          • Assignee:
            He Yongqiang
            Reporter:
            He Yongqiang
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development