Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.2.2
-
None
Description
STEPS TO REPRODUCE:
Execute:
use testdb;
set hive.execution.engine=tez;
set tez.queue.name=dipayan;
select count from geolocation;
After it returns value, click on visual explain button. The call fails with the following error:
org.apache.ambari.view.hive.client.HiveInvalidQueryException: Error while compiling statement: FAILED: ParseException line 2:4 missing KW_ROLE at 'hive' near 'hive' line 2:8 missing EOF at '.' near 'hive' [ERROR_STATUS] org.apache.ambari.view.hive.client.HiveInvalidQueryException: Error while compiling statement: FAILED: ParseException line 2:4 missing KW_ROLE at 'hive' near 'hive' line 2:8 missing EOF at '.' near 'hive' [ERROR_STATUS] at org.apache.ambari.view.hive.client.Utils.verifySuccess(Utils.java:46) at org.apache.ambari.view.hive.client.Connection.execute(Connection.java:614) at org.apache.ambari.view.hive.client.Connection.executeAsync(Connection.java:625) at org.apache.ambari.view.hive.resources.jobs.ConnectionController.executeQuery(ConnectionController.java:67) at org.apache.ambari.view.hive.resources.jobs.viewJobs.JobControllerImpl.submit(JobControllerImpl.java:109) at org.apache.ambari.view.hive.resources.jobs.JobService.create(JobService.java:431) at sun.reflect.GeneratedMethodAccessor326.invoke(Unknown Source) 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)
Attachments
Attachments
Issue Links
- links to