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.

What are the steps for moving a zookeeper server?

avatar
Super Collaborator

Many nodes and updates ago, when we first got started with Hadoop, we assigned one of our data nodes as a zookeeper server.

I would like to move that to an edge node.

Is there a document that outlines that steps to accomplish this? I'm on 2.2.8

Similarly, we need to move our ambari metrics server.

Thanks!

1 ACCEPTED SOLUTION

avatar
Master Mentor
12 REPLIES 12

avatar
Guru

@Zack Riesland: I feel there is not a stright forward way to move zookeeper through ambari like any other service. But below link may help you to do it manually. I have not tested it but it may help you.

https://community.hortonworks.com/questions/4272/process-for-moving-hdp-services-manually.html

avatar
Master Mentor

avatar
Master Mentor

For zookeeper go to the individual host page, in host actions select move zk

avatar
Super Collaborator

Thanks, @Artem Ervits.

Do we need to stop any services, etc?

avatar
Master Mentor

honestly I don't remember but I have done it before. It should walk you through the steps as you click on the menu options. I believe it will stop but obviously try it out in dev cluster. It may take some services down itself. @Zack Riesland

avatar
Super Collaborator

Actually, that isn't an option.

Under "Host Actions", my options are:

start all components

stop all components

restart all components

turn on main. mode

delete host

set rack

download client configs

avatar
Master Mentor

@Zack Riesland is there a drop down next to the zookeeper service? If it isn't there, it must've been removed. I'll check on a cluster and report back in a bit.

avatar
Super Collaborator

I figured it out. Had to go to services->zookeeper and follow the menus.

Any idea how to move the ambari metrics collector? I don't see any similar options.

avatar
Master Mentor

I shared the link above on moving metrics service