- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Hive hive.prewarm.enabled property
- Labels:
-
Apache Hive
-
Apache Spark
Created on 01-25-2017 09:17 AM - edited 09-16-2022 03:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
Anyone knows in what file i may update hive.prewarm.enabled property ?
I've checked hive-site.xml and that property does not exist.
Thanks
Created 01-25-2017 01:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When you configure Hive, hive-site.xml will be updated with default property. So you can customize hive-site.xml by adding addional property.
Instead of directly updating hive-site.xml, i would recommend you to update via CM. You can follow the below steps
CM -> Hive -> Configuration -> Advanced Category -> search for snippet -> It will show you option to add additional property.
Press + button, Name = "hive.prewarm.enabled" and value to be "true" to enable it
Press ? button, to know more about each property
Thanks
Kumar
Created 01-25-2017 01:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When you configure Hive, hive-site.xml will be updated with default property. So you can customize hive-site.xml by adding addional property.
Instead of directly updating hive-site.xml, i would recommend you to update via CM. You can follow the below steps
CM -> Hive -> Configuration -> Advanced Category -> search for snippet -> It will show you option to add additional property.
Press + button, Name = "hive.prewarm.enabled" and value to be "true" to enable it
Press ? button, to know more about each property
Thanks
Kumar
Created 01-25-2017 01:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the feedback..This is exactly what i was looking for.
Created 01-25-2017 02:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can try setting it in Hive service's configuration page. Search for 'Hive Service Advanced Configuration Snippet (Safety Valve) for hive-site.xml' and add an entry for this. Then you might probably want to restart Hive service.
Created 01-26-2017 08:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've set-up hive.prewarm.enabled=true and it did not improve the slow latency to start and initialize executors.
It still takes about 15seconds to initialize things. Any idea ?
