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:50:25 UTC
[jira] [Created] (AMBARI-15727)
https://hortonworks.jira.com/browse/BUG-55491
Gaurav Nagar created AMBARI-15727:
-------------------------------------
Summary: https://hortonworks.jira.com/browse/BUG-55491
Key: AMBARI-15727
URL: https://issues.apache.org/jira/browse/AMBARI-15727
Project: Ambari
Issue Type: Bug
Components: ambari-views
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)