Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Hive hive.prewarm.enabled property

avatar

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

1 ACCEPTED SOLUTION

avatar
Champion

@MasterOfPuppets

 

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

View solution in original post

4 REPLIES 4

avatar
Champion

@MasterOfPuppets

 

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

avatar

Thanks for the feedback..This is exactly what i was looking for.

avatar
Cloudera Employee

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.

avatar

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 ?