Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Setting within script hive.tez.container.size

avatar
Explorer

Ive always been under the impression that I can modify hive.tez.container.size for different queries within a hive script. For example: I set the container size to 2GB for small queries but increase it to 4GB for larger queries and then reset it back to 2GB for smaller queries.

Is this how it works? It appears that I can definitely change this value to increase the container size at different time but does reseting the value to a lower number actually cause smaller containers from that point in the script?

How can I tell what the container size for task was?

1 ACCEPTED SOLUTION

avatar
Guru
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
3 REPLIES 3

avatar
Guru
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login

avatar
Explorer

Thanks for the response. Are you claiming that all properties can only be set once per session? What Im wondering is if the container size can be reduced after it has been increased within the SAME session. I know that I can increase it within the session but looking at the resource manager Im not sure if the subsequent decrease in container size occurs within the same session.

avatar
Guru

hi @nfleming

No I am not claiming that. You can change the property within the same session as you see fit.