Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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

Solved Go to solution
Highlighted

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

New Contributor

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

Accepted Solutions

Re: 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

New Contributor

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.

1 REPLY 1

Re: 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

New Contributor

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.