You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Gaurav Nagar (JIRA)" <ji...@apache.org> on 2016/04/06 08:51:25 UTC
[jira] [Updated] (AMBARI-15727) "E090 NullPointerException" when
executing Hive queries with tez
[ https://issues.apache.org/jira/browse/AMBARI-15727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gaurav Nagar updated AMBARI-15727:
----------------------------------
Summary: "E090 NullPointerException" when executing Hive queries with tez (was: https://hortonworks.jira.com/browse/BUG-55491)
> "E090 NullPointerException" when executing Hive queries with tez
> ----------------------------------------------------------------
>
> Key: AMBARI-15727
> URL: https://issues.apache.org/jira/browse/AMBARI-15727
> Project: Ambari
> Issue Type: Bug
> Components: ambari-views
> Affects Versions: 2.2.0
> Reporter: Gaurav Nagar
> Assignee: Gaurav Nagar
>
> ISSUE: Queries fail when execution engine is Tez from Hive view.
> Error :
> {code}
> 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)
> {code}
> 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:
> {code}
> 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
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)