Support Questions

Find answers, ask questions, and share your expertise

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
Explorer

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
Explorer

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
Explorer

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.