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.

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

Highlighted

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

 
2 REPLIES 2

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

Master Collaborator

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.

Highlighted

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

New Contributor

Perfect its worked

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