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]
Created on 11-10-2017 10:16 AM - edited 08-18-2019 12:02 AM
Hi guys,
I am trying to execute a command from zeppelin. I use the sandbox 2.6 and my VM has 16GB ram.
I dont know why it is out of memmory. Could anybody help me?
Created 11-10-2017 02:00 PM
Please also try to setup the following parameters:
set hive.tez.java.opts=-Xmx1640m (0.8 times hive.tez.container.size) set tez.runtime.io.sort.mb=820 (0.4 times hive.tez.container.size) set tez.runtime.unordered.output.buffer.size-mb=205 (0.1 times hive.tez.container.size)
The following link provides good examples and explaination on Tez Tuning.
https://community.hortonworks.com/articles/14309/demystify-tez-tuning-step-by-step.html
.
Created 11-10-2017 10:32 AM
Where do you see the OutOfMemory ? Can you please share the complete trace of OutOfMemory and where do you see it.
What is your "hive.tez.container.size" value ? (Can you try increasing it and then see if it helps).
If the Hive Table is ORC formatted then you can also refer to the following article for tuning: https://community.hortonworks.com/articles/68631/optimizing-hive-queries-for-orc-formatted-tables.ht...
.
Created on 11-10-2017 12:55 PM - edited 08-18-2019 12:02 AM
oh sorry...this will be better. Where could I foung info abou "hive.tez.container.size" value ?
Thanks
Created on 11-10-2017 01:10 PM - edited 08-18-2019 12:02 AM
Created 11-10-2017 01:24 PM
No I set the value to 900MB and it is still not working...
Created 11-10-2017 01:27 PM
Created on 11-10-2017 01:54 PM - edited 08-18-2019 12:02 AM
I set it up....but i dont know, why my easy query select count (*) from cdr use 90% of Yarn ..?
take a look at screenshots..
Created 11-10-2017 02:00 PM
Please also try to setup the following parameters:
set hive.tez.java.opts=-Xmx1640m (0.8 times hive.tez.container.size) set tez.runtime.io.sort.mb=820 (0.4 times hive.tez.container.size) set tez.runtime.unordered.output.buffer.size-mb=205 (0.1 times hive.tez.container.size)
The following link provides good examples and explaination on Tez Tuning.
https://community.hortonworks.com/articles/14309/demystify-tez-tuning-step-by-step.html
.
Created 11-11-2017 10:28 AM
Thank you....
According to your posted links and this link https://community.hortonworks.com/questions/67677/javalangoutofmemoryerror-java-heap-space-error.htm... I solved the problem.
Thank you.
Created 11-11-2017 10:38 AM
Good to know that the issue is resolved. As the issue is resolved, hence it will be also great if you can mark this HCC thread as Answered by clicking on the "Accept" Button on the correct answer. That way other HCC users can quickly find the solution when they encounter the same issue.