You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "DIPAYAN BHOWMICK (JIRA)" <ji...@apache.org> on 2016/07/07 10:40:11 UTC

[jira] [Updated] (AMBARI-17603) Hive Jdbc View: Error while generating Explain plan using Hive View 2.0.0

     [ https://issues.apache.org/jira/browse/AMBARI-17603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

DIPAYAN BHOWMICK updated AMBARI-17603:
--------------------------------------
    Status: Patch Available  (was: Open)

> Hive Jdbc View: Error while generating Explain plan using Hive View 2.0.0
> -------------------------------------------------------------------------
>
>                 Key: AMBARI-17603
>                 URL: https://issues.apache.org/jira/browse/AMBARI-17603
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-views
>    Affects Versions: 2.4.0
>            Reporter: DIPAYAN BHOWMICK
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-17603.branch-2.4.patch
>
>
> Steps:
> =====
> 1. Write the SELECT query in Hive View 2.0.0
> 2. Click on "Explain" button to generate the explain plan.
> Actual behavior
> ===========
> Explain plan returned blank. This is not happening consistently. When this happen there is error in Hive View log
> Error text :
> {code}
> 6 Jul 2016 17:55:48,518  INFO [ambari-client-thread-4235] [HIVE 2.0.0 AUTO_HIVE_INSTANCE] AsyncJobRunnerImpl:103 - Result not ready for job: 29, username: admin. Try after sometime.
> 06 Jul 2016 17:55:48,520 ERROR [ambari-client-thread-4235] [HIVE 2.0.0 AUTO_HIVE_INSTANCE] ServiceFormattedException:97 - Result not ready for job: 29, username: admin. Try after sometime.
> 06 Jul 2016 17:55:48,521 ERROR [ambari-client-thread-4235] [HIVE 2.0.0 AUTO_HIVE_INSTANCE] ServiceFormattedException:98 - java.lang.Exception: Result not ready for job: 29, username: admin. Try after sometime.
> java.lang.Exception: Result not ready for job: 29, username: admin. Try after sometime.
>         at org.apache.ambari.view.hive2.client.AsyncJobRunnerImpl.resetAndGetCursor(AsyncJobRunnerImpl.java:104)
>         at org.apache.ambari.view.hive2.resources.jobs.JobService$3.call(JobService.java:366)
>         at org.apache.ambari.view.hive2.resources.jobs.JobService$3.call(JobService.java:361)
>         at org.apache.ambari.view.hive2.resources.jobs.ResultsPaginationController.getResultsSet(ResultsPaginationController.java:114)
>         at org.apache.ambari.view.hive2.resources.jobs.ResultsPaginationController.request(ResultsPaginationController.java:140)
>         at org.apache.ambari.view.hive2.resources.jobs.JobService.getResults(JobService.java:359)
>         at sun.reflect.GeneratedMethodAccessor475.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:498)
>         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)
>         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)
>         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)
>         at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
>         at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
>         at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
>         at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542)
>         at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)
>         at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)
>         at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)