- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Setting within script hive.tez.container.size
- Labels:
-
Apache Hive
-
Apache Tez
Created ‎08-16-2017 05:55 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Created on ‎08-16-2017 07:43 PM - edited ‎08-17-2019 07:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi @nfleming
The property can be set on a per session basis I believe. The Ambari Tez View shows the query run, and if you click on the config tab, you can see the Tez properties for that query.
Created on ‎08-16-2017 07:43 PM - edited ‎08-17-2019 07:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi @nfleming
The property can be set on a per session basis I believe. The Ambari Tez View shows the query run, and if you click on the config tab, you can see the Tez properties for that query.
Created ‎08-16-2017 09:14 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Created ‎08-22-2017 02:35 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi @nfleming
No I am not claiming that. You can change the property within the same session as you see fit.
