[
https://issues.apache.org/jira/browse/HIVE-3933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13562486#comment-13562486
]
Namit Jain commented on HIVE-3933:
----------------------------------
The code changes look good.
Can you create a phabricator entry ?
1. There is no apache header for the test file.
2. There are a couple of warnings in the test file.
> StatsWork of QueryPlan can't be serialized correctly
> ----------------------------------------------------
>
> Key: HIVE-3933
> URL: https://issues.apache.org/jira/browse/HIVE-3933
> Project: Hive
> Issue Type: Bug
> Components: Serializers/Deserializers
> Reporter: yi
> Priority: Minor
> Attachments: HIVE-3933.patch
>
>
> QueryPlan is serialized using java.beans.XMLEncoder, but StatsWork of
> QueryPlan doesn't not follow java bean syntax, so it can't be serialized
> correctly.
> java.lang.NullPointerException
> at
> org.apache.hadoop.hive.ql.exec.StatsTask.execute(StatsTask.java:240)
> at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:138)
> at
> org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:57)
> at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1351)
> at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1137)
> at org.apache.hadoop.hive.ql.Driver.run(Driver.java:948)
> at
> org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:259)
> at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:216)
> at
> org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:413)
> at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:756)
> at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:614)
> 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:212)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira