Support Questions
Find answers, ask questions, and share your expertise

topology.map - Restart stale services necessary?

Hi.

When adding a new worker node with Datanode, NodeManager and Impalad cloudera manager wants to restart stale services due to the topology.map file.

 

We are deploying a single DC / Rack cluster so there isn't any need for us to divide into racks, all of them are in /default.

 

Is there any way to avoid this behavior?

 

And are there any negative effects ( if only using /default rack ) to not restarting the stale services when asked to update topology.map file?

 

The node seems to be in both YARN and HDFS node list and we can see that jobs and blocks are being copied to the host.

 

/Jesper

 

3 REPLIES 3

Re: topology.map - Restart stale services necessary?

Cloudera Employee

Hi Jesper,

 

 

Can you tell me what version of CM are you using? I don't recall seeing this in recent versions.

If you only have one rack, there shouldn't be any negative inpact by not restarting stale services.

 

 

cheers,

zegab

 

Re: topology.map - Restart stale services necessary?

Super Guru

A restart should not be necessary if only the topology.map needs updating.

To refresh HDFS and YARN, refresh the cluster with the following:

 

https://www.cloudera.com/documentation/enterprise/5-8-x/topics/cm_mc_start_stop_cluster.html#xd_583c...

 

A refresh does not restart any services.

 

Next, deploy Client configuration with steps 1 and 2 as described here:

 

http://www.cloudera.com/documentation/enterprise/5-8-x/topics/cm_mc_client_config.html#cmug_topic_5_...

 

Let us know if services still show as stale and what version of Cloudera Manager you are using if HDFS and YARN still show a stale configuration.

Re: topology.map - Restart stale services necessary?

We are using cloudera manager with CDH 5.8.3.

 

Thanks for the update!

 

I can see now that YARN and HDFS can be refreshed without restarting the cluster.

 

However some services like SPARK2, HIVE, HUE and OOZIE still have the old topology.map file and cloudera manager wants to restart stale services.

 

Is it safe to wait until we have server maintenance or something and do the restart?