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 07-18-2017 10:00 PM
I am trying to follow a strange problem I am seeing with Hive on Tez on the sandbox to make things simple.
When I run hive cli I see there is a container occupied in YARN via Application for the session. It however is using 500 MB of memory. I am trying to figure out where is this number coming up. The HADOOP_HEAPSIZE is set at 250MB.
The minimum container size in YARN is yarn.scheduler.minimum-allocation-mb is 250. The Tez container size in hive-site is set at 250 (hive.tez.container.size).
Even after changing hive.tez.container.size I don't see any change in the memory utilization for the single YARN Application container.
I've also tried to play around with the tez.am.resource.memory.mb and tez.dag.am.resource.memory.mb but nothing worked.
Am I missing something? Is there some kind of calculation with the HADOOP_HEAPSIZE which should be affecting the number to change?
I am trying to see if the idle session Hive cli connection memory can be brought down since they keep the resources hooked up on a small cluster.
Created 07-19-2017 02:43 AM
@Gagan Brahmi modify tez.am.resource.memory.mb in ambari tez configuration, restart tez and hive client.
Created 07-19-2017 02:43 AM
@Gagan Brahmi modify tez.am.resource.memory.mb in ambari tez configuration, restart tez and hive client.
Created 07-20-2017 12:23 AM
Strangely when I tried to modify the tez.am.resource.memory.mb under Tez yesterday it wasn't taking effect. However, it does seem to be taking effect now. Appreciate your inputs.