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 can I control the start/stop order of my Cloudera Manager Extension

Highlighted

How can I control the start/stop order of my Cloudera Manager Extension

New Contributor

Hi, I have implemented a CM Extension following the guide on the wiki. Our service needs to stop and start in a particular order when executing the stop/start cluster action (and rolling restarts, etc.). We want our service to stop after HDFS Datanode and start before HDFS Datanode. We have implemented a similar extension for Ambari, and in Ambari this feature is called Role Command Order. This is our Ambari role command order json:

 

 

{
  "general_deps": {
    "_comment": "dependencies for CUSTOM_SERVICE when starting and stopping all services.",
    "CUSTOM_SERVICE-STOP": ["DATANODE-STOP"],
    "DATANODE-START": ["CUSTOM_SERVICE-START"]
  }
}

 

 

 

Does Cloudera Manager have a similar feature for controlling start and stop order? I could not find anything in the service descriptor language reference.

 

Thanks.

3 REPLIES 3
Highlighted

Re: How can I control the start/stop order of my Cloudera Manager Extension

New Contributor

Given the lack of replies I am guessing I am not reaching the people who might know the answer to my question. Can anybody give me guidance how to best reach the CM experts, and particularly someone who knows how CM Extensions and start/stop ordering works? This is quite important for our project. Thanks!

Re: How can I control the start/stop order of my Cloudera Manager Extension

Explorer

Hello @hitachi_ben :

 

Have you gone through the cloudera documentation links ?? for the version what you have..

 

I meant the general administration document would give some knowledge and about adding extensions if they have explicitly mentioned you can proceedwith that.

 

References:

 

https://docs.cloudera.com/documentation/enterprise/5-3-x/topics/cm_mc_rolling_restart.html

 

https://docs.cloudera.com/documentation/enterprise/5-3-x/categories/hub_administrators.html

Highlighted

Re: How can I control the start/stop order of my Cloudera Manager Extension

New Contributor

Thanks @Govins , but neither of these resources contains any reference to role start/stop ordering. I assume it is possible but the mechanism does not seem to be documented and CM source code is not open. Very frustrating.

Don't have an account?
Coming from Hortonworks? Activate your account here