Hive
  1. Hive
  2. HIVE-7498

NPE on show grant for global privilege

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.14.0
    • Component/s: Authorization
    • Labels:
      None

      Description

      2014-07-24 11:10:05,961 ERROR exec.DDLTask (DDLTask.java:failed(501)) - java.lang.NullPointerException
      	at org.apache.hadoop.hive.ql.security.authorization.plugin.HivePrivilegeObject.compareTo(HivePrivilegeObject.java:66)
      	at org.apache.hadoop.hive.ql.exec.DDLTask$2.compare(DDLTask.java:3156)
      	at org.apache.hadoop.hive.ql.exec.DDLTask$2.compare(DDLTask.java:3153)
      	at java.util.Arrays.mergeSort(Arrays.java:1270)
      	at java.util.Arrays.mergeSort(Arrays.java:1281)
      	at java.util.Arrays.mergeSort(Arrays.java:1281)
      	at java.util.Arrays.mergeSort(Arrays.java:1281)
      	at java.util.Arrays.mergeSort(Arrays.java:1281)
      	at java.util.Arrays.mergeSort(Arrays.java:1281)
      	at java.util.Arrays.sort(Arrays.java:1210)
      	at java.util.Collections.sort(Collections.java:157)
      	at org.apache.hadoop.hive.ql.exec.DDLTask.writeGrantInfo(DDLTask.java:3153)
      	at org.apache.hadoop.hive.ql.exec.DDLTask.showGrants(DDLTask.java:606)
      	at org.apache.hadoop.hive.ql.exec.DDLTask.execute(DDLTask.java:455)
      	at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:161)
      	at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:85)
      	at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1513)
      	at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1280)
      	at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1094)
      	at org.apache.hadoop.hive.ql.Driver.run(Driver.java:918)
      	at org.apache.hadoop.hive.ql.Driver.run(Driver.java:908)
      

      Seemed regression from HIVE-7026

        Activity

        Navis created issue -
        Navis made changes -
        Field Original Value New Value
        Attachment HIVE-7498.1.patch.txt [ 12657518 ]
        Navis made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Thejas M Nair made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 0.14.0 [ 12326450 ]
        Resolution Fixed [ 1 ]
        Thejas M Nair made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Navis
            Reporter:
            Navis
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development