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.

how zookeeper server auto start when reboot machine use ambari 2.4.1.0,how to auto-start zookeeper when the machine is reboot use ambari 2.4.1.0

avatar
New Member

how zookeeper server auto start when reboot machine

i add this in ambari.properties but the zookeeper is not auto start

#####################AUTOSTART###############################

recovery.type=AUTO_START

recovery.enabled_components=METRICS_COLLECTOR,ZOOKEEPER_CLIENT,ZOOKEEPER_SERVER

recovery.lifetime_max_count=102400

####################################

how can do it ?

ambari is 2.4.1.0 HDP is 2.5.0.0

,

how to auto-start zookeeper when the machine is reboot

my ambari is 2.4.1.0

i add the in ambari.properties

#####################AUTOSTART###############################

recovery.type=AUTO_START

recovery.enabled_components=METRICS_COLLECTOR,ZOOKEEPER_CLIENT,ZOOKEEPER_SERVER

recovery.lifetime_max_count=102400

####################################

when the machine is reboot but the zookeeper is not auto start

1 ACCEPTED SOLUTION

avatar
New Member

I slave it

add the shell using ambari api in the /etc/rc.d/rc.local also can change it in the database

can't use the ambari.propeties file to add the auto start (after 2.4.0)

Thanks.

View solution in original post

1 REPLY 1

avatar
New Member

I slave it

add the shell using ambari api in the /etc/rc.d/rc.local also can change it in the database

can't use the ambari.propeties file to add the auto start (after 2.4.0)

Thanks.