Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.2.0
-
None
Description
If we set hive.exec.submitviachild to true and execute select count from src, the following exception is thrown.
Seems queryState is not initialized when ExecDriver is called from main() in ExecDriver.
java.lang.NullPointerException at org.apache.hadoop.hive.ql.exec.mr.HadoopJobExecHelper.progress(HadoopJobExecHelper.java:262) at org.apache.hadoop.hive.ql.exec.mr.HadoopJobExecHelper.progress(HadoopJobExecHelper.java:555) at org.apache.hadoop.hive.ql.exec.mr.ExecDriver.execute(ExecDriver.java:436) at org.apache.hadoop.hive.ql.exec.mr.ExecDriver.main(ExecDriver.java:756) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.hadoop.util.RunJar.run(RunJar.java:221) at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
Attachments
Attachments
Issue Links
- is required by
-
HIVE-13424 Refactoring the code to pass a QueryState object rather than HiveConf object
- Closed