Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

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.