Support Questions
Find answers, ask questions, and share your expertise

Spark stops with error -Error in calling method FetchResults - while loading data from hive table using LLAP.

Spark stops with error -Error in calling method FetchResults - while loading data from hive table using LLAP.

New Contributor

org.apache.thrift.TException: Error in calling method FetchResults

        at shadehive.org.apache.hive.jdbc.HiveConnection$SynchronizedHandler.invoke(HiveConnection.java:1661)

        at com.sun.proxy.$Proxy23.FetchResults(Unknown Source)

        at shadehive.org.apache.hive.jdbc.HiveQueryResultSet.next(HiveQueryResultSet.java:378)

        at org.apache.commons.dbcp2.DelegatingResultSet.next(DelegatingResultSet.java:191)

        at org.apache.commons.dbcp2.DelegatingResultSet.next(DelegatingResultSet.java:191)

        at com.hortonworks.spark.sql.hive.llap.JDBCWrapper.executeStmt(HS2JDBCWrapper.scala:231)

        at com.hortonworks.spark.sql.hive.llap.DefaultJDBCWrapper.executeStmt(HS2JDBCWrapper.scala)

        at com.hortonworks.spark.sql.hive.llap.HiveWarehouseSessionImpl.lambda$new$1(HiveWarehouseSessionImpl.java:50)

        at com.hortonworks.spark.sql.hive.llap.HiveWarehouseSessionImpl.execute(HiveWarehouseSessionImpl.java:67)

        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:498)

        at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)

        at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:357)

        at py4j.Gateway.invoke(Gateway.java:282)

        at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)

        at py4j.commands.CallCommand.execute(CallCommand.java:79)

        at py4j.GatewayConnection.run(GatewayConnection.java:238)

        at java.lang.Thread.run(Thread.java:745)

^CCaused by: java.lang.OutOfMemoryError: GC overhead limit exceeded

        at java.lang.Integer.valueOf(Integer.java:832)

        at shadehive.org.apache.hive.service.rpc.thrift.TI32Column$TI32ColumnStandardScheme.read(TI32Column.java:454)

        at shadehive.org.apache.hive.service.rpc.thrift.TI32Column$TI32ColumnStandardScheme.read(TI32Column.java:433)

        at shadehive.org.apache.hive.service.rpc.thrift.TI32Column.read(TI32Column.java:367)

        at shadehive.org.apache.hive.service.rpc.thrift.TColumn.standardSchemeReadValue(TColumn.java:301)

        at org.apache.thrift.TUnion$TUnionStandardScheme.read(TUnion.java:224)

        at org.apache.thrift.TUnion$TUnionStandardScheme.read(TUnion.java:213)

        at org.apache.thrift.TUnion.read(TUnion.java:138)

        at shadehive.org.apache.hive.service.rpc.thrift.TRowSet$TRowSetStandardScheme.read(TRowSet.java:743)

        at shadehive.org.apache.hive.service.rpc.thrift.TRowSet$TRowSetStandardScheme.read(TRowSet.java:695)

        at shadehive.org.apache.hive.service.rpc.thrift.TRowSet.read(TRowSet.java:605)

        at shadehive.org.apache.hive.service.rpc.thrift.TFetchResultsResp$TFetchResultsRespStandardScheme.read(TFetchResultsResp.java:522)

        at shadehive.org.apache.hive.service.rpc.thrift.TFetchResultsResp$TFetchResultsRespStandardScheme.read(TFetchResultsResp.java:490)