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

get_privilege does not get user level privilege

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.8.0
    • Authorization, Security
    • None
    • 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.2.patch
          5 kB
          He Yongqiang
        2. HIVE-2405.1.patch
          4 kB
          He Yongqiang

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: