Re: Review Request 17002: alter partition column throws NPE in authorization

Thu, 16 Jan 2014 17:27:11 -0800

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17002/#review32110
-----------------------------------------------------------



ql/src/test/results/clientpositive/alter_partition_coltype.q.out
<https://reviews.apache.org/r/17002/#comment60795>

    any idea why the stats numbers have changed ? I have heard that people had 
different stats numbers getting generated in different environments in the 
tests, maybe it is happening on your machine as well.
    


- Thejas Nair


On Jan. 17, 2014, 12:40 a.m., Navis Ryu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/17002/
> -----------------------------------------------------------
> 
> (Updated Jan. 17, 2014, 12:40 a.m.)
> 
> 
> Review request for hive.
> 
> 
> Bugs: HIVE-6205
>     https://issues.apache.org/jira/browse/HIVE-6205
> 
> 
> Repository: hive-git
> 
> 
> Description
> -------
> 
> 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.
> 
> 
> Diffs
> -----
> 
>   
> hcatalog/core/src/main/java/org/apache/hcatalog/cli/SemanticAnalysis/HCatSemanticAnalyzer.java
>  1d4a9a1 
>   
> hcatalog/core/src/main/java/org/apache/hive/hcatalog/cli/SemanticAnalysis/HCatSemanticAnalyzer.java
>  97973db 
>   ql/src/java/org/apache/hadoop/hive/ql/Driver.java 72c04d3 
>   ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java 
> 81426cd 
>   ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g 1ce6bf3 
>   ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzerFactory.java 
> 835a654 
>   ql/src/java/org/apache/hadoop/hive/ql/plan/HiveOperation.java fe88a50 
>   ql/src/test/results/clientnegative/alter_partition_coltype_2columns.q.out 
> e1f9a27 
>   ql/src/test/results/clientpositive/alter_partition_coltype.q.out 685bf88 
> 
> Diff: https://reviews.apache.org/r/17002/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Navis Ryu
> 
>

Reply via email to