Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-5837 SQL standard based secure authorization for hive
  3. HIVE-6673

sql std auth - show grant statement for all principals throws NPE

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.13.0
    • 0.13.0
    • Authorization
    • None

    Description

      show grant on table t1;
      2014-03-14 12:45:46,573 ERROR exec.DDLTask (DDLTask.java:execute(461)) - java.lang.NullPointerException
              at org.apache.hadoop.hive.ql.exec.DDLTask.getHivePrincipal(DDLTask.java:893)
              at org.apache.hadoop.hive.ql.exec.DDLTask.showGrantsV2(DDLTask.java:648)
              at org.apache.hadoop.hive.ql.exec.DDLTask.showGrants(DDLTask.java:553)
              at org.apache.hadoop.hive.ql.exec.DDLTask.execute(DDLTask.java:426)
              at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:153)
      ...
      ...
      

      Attachments

        1. HIVE-6673.1.patch
          7 kB
          Thejas Nair
        2. HIVE-6673.1.patch
          7 kB
          Thejas Nair

        Issue Links

          Activity

            People

              thejas Thejas Nair
              thejas Thejas Nair
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: