Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.2.0
-
None
Description
ISSUE: Queries fail when execution engine is Tez from Hive view.
Error :
java.lang.NullPointerException java.lang.NullPointerException at org.apache.ambari.view.hive.resources.jobs.Aggregator.saveJobInfoIfNeeded(Aggregator.java:180) at org.apache.ambari.view.hive.resources.jobs.Aggregator.readATSJob(Aggregator.java:133) at org.apache.ambari.view.hive.resources.jobs.JobService.jsonObjectFromJob(JobService.java:123) at org.apache.ambari.view.hive.resources.jobs.JobService.getOne(JobService.java:106) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205) at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302) at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:137) at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
The same query works in the hive view if the execution engine is MR.
Restarting Ambari did not work. Here is the tail of the ambari-server log:
25 Feb 2016 13:15:21,451 INFO [qtp-ambari-client-31] Connection:497 - Hive session opened 25 Feb 2016 13:15:43,598 ERROR [qtp-ambari-client-31] ServiceFormattedException:96 - java.lang.NullPointerException java.lang.NullPointerException at org.apache.ambari.view.hive.resources.jobs.Aggregator.saveJobInfoIfNeeded(Aggregator.java:180) at org.apache.ambari.view.hive.resources.jobs.Aggregator.readATSJob(Aggregator.java:133) at org.apache.ambari.view.hive.resources.jobs.JobService.jsonObjectFromJob(JobService.java:123) at org.apache.ambari.view.hive.resources.jobs.JobService.getOne(JobService.java:106) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:20
Attachments
Attachments
Issue Links
- links to