[jira] [Updated] (HIVE-6205) alter partition column throws NPE in authorization

Wed, 15 Jan 2014 18:08:44 -0800

     [ 
https://issues.apache.org/jira/browse/HIVE-6205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Navis updated HIVE-6205:
------------------------

    Attachment: HIVE-6205.2.patch.txt

> alter <table> partition column throws NPE in authorization
> ----------------------------------------------------------
>
>                 Key: HIVE-6205
>                 URL: https://issues.apache.org/jira/browse/HIVE-6205
>             Project: Hive
>          Issue Type: Bug
>          Components: Authorization
>            Reporter: Navis
>            Assignee: Navis
>         Attachments: HIVE-6205.1.patch.txt, HIVE-6205.2.patch.txt
>
>
> alter table alter_coltype partition column (dt int);
> {noformat}
> 2014-01-15 15:53:40,364 ERROR ql.Driver (SessionState.java:printError(457)) - 
> FAILED: NullPointerException null
> java.lang.NullPointerException
>       at org.apache.hadoop.hive.ql.Driver.doAuthorization(Driver.java:599)
>       at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:479)
>       at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:340)
>       at org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:996)
>       at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1039)
>       at org.apache.hadoop.hive.ql.Driver.run(Driver.java:932)
>       at org.apache.hadoop.hive.ql.Driver.run(Driver.java:922)
>       at 
> org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:268)
>       at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:220)
>       at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:424)
>       at 
> org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:792)
>       at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:686)
>       at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:625)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at org.apache.hadoop.util.RunJar.main(RunJar.java:197)
> {noformat}
> Operation for TOK_ALTERTABLE_ALTERPARTS is not defined.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to