Support Questions

Find answers, ask questions, and share your expertise

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

avatar
Rising Star
 
2 REPLIES 2

avatar

How many rows are you expecting from the output of this query? Beeline client in its default setting is prone to memory issues when large number of rows get fetched as it buffers all rows in memory. The workaround is to use the following argument when starting beeline.

--incremental=true

HIVE-7224 which was recently fixed will make that setting as default but for now you will need to use the above argument to beeline client. More documentation on that option and others is on Hive Wiki.

avatar
New Contributor

Perfect its worked