Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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

avatar

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

avatar
Super Guru

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

avatar
Super Guru

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

avatar

where to specify this