Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

I am trying to execute the query from hive view but the query is failing with following Exception

Solved Go to solution
Highlighted

I am trying to execute the query from hive view but the query is failing with following Exception

trace":"org.apache.ambari.view.hive.client.HiveClientException: H160 Unable to fetch results: org.apache.thrift.transport.TTransportException: java.net.SocketTimeoutException: Read timed out\n\norg.apache.ambari.view.hive.client.HiveClientException: H160 Unable to fetch results: org.apache.thrift.transport.TTransportException: java.net.SocketTimeoutException: Read timed out\n\tat org.apache.ambari.view.hive.client.Cursor$1.body(Cursor.java:77)\n\tat org.apache.ambari.view.hive.client.Cursor$1.body(Cursor.java:63)\n\tat org.apache.ambari.view.hive.client.HiveCall.call(HiveCall.java:101)\n\tat org.apache.ambari.view.hive.client.Cursor.fetchNextBlock(Cursor.java:63)\n\tat org.apache.ambari.view.hive.client.Cursor.fetchIfNeeded(Cursor.java:169)\n\tat org.apache.ambari.view.hive.client.Cursor.hasNext(Cursor.java:162)\n\tat org.apache.ambari.view.hive.client.Cursor.readRaw(Cursor.java:224)\n\tat org.apache.ambari.view.hive.resources.jobs.ResultsPaginationController.request(ResultsPaginationController.java:131)\n\tat org.apache.ambari.view.hive.resources.jobs.JobService.getResults(JobService.java:305)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.lang.reflect.Method.invoke(Method.java:497)\n\tat com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)\n\tat com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)\n\tat com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)\n\tat com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)\n\tat com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: I am trying to execute the query from hive view but the query is failing with following Exception

can you try this query using http mode by setting hive.server2.transport.mode to http instead of binary

View solution in original post

2 REPLIES 2
Highlighted

Re: I am trying to execute the query from hive view but the query is failing with following Exception

can you try this query using http mode by setting hive.server2.transport.mode to http instead of binary

View solution in original post

Highlighted

Re: I am trying to execute the query from hive view but the query is failing with following Exception

where to specify this

Don't have an account?
Coming from Hortonworks? Activate your account here