Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-2405

get_privilege does not get user level privilege

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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.

        Attachments

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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: