You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2016/04/06 13:02:25 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15228100#comment-15228100 ] 

Hadoop QA commented on AMBARI-15727:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12797258/AMBARI-15727_branch-2.2.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

    {color:red}-1 core tests{color}.  The test build failed in contrib/views/hive 

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/6243//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/6243//console

This message is automatically generated.

> "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
>             Fix For: 2.2.2
>
>         Attachments: AMBARI-15727_branch-2.2.patch
>
>
> 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)