Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Can a CSD role have a node role dependency?

avatar
New Contributor

I think this is really a feature request... I already have this:

 

    "serviceDependencies" : [
        {
            "name" : "YARN",
            "required" : "true"
        },
        {
            "name" : "ZOOKEEPER",
            "required" : "true"
        }
    ],

What I'd really like is something like:

 

    "roles" : [
        {
            "name" : "MY_ROLE",
            "label" : "My Example Role",
            "pluralLabel" : "My Example Roles",
            "roleDependencies" : [
                {
                    "name" : "NODEMANAGER",
                    "required" : "true"
                }
            ],

i.e. my role can only be started on nodes that are running this roleDependency.

1 ACCEPTED SOLUTION

avatar
Hi,

This is not currently supported.

We'll be adding placementRules in CM 5.5 that will allow you to specify that a role must be placed with another role, but it only lets you specify roles in the same service.

We're aware of interest in requiring a role to be co-located with a role in a different service, and will keep that in mind for a future release.

Thanks,
Darren

View solution in original post

3 REPLIES 3

avatar
Hi,

This is not currently supported.

We'll be adding placementRules in CM 5.5 that will allow you to specify that a role must be placed with another role, but it only lets you specify roles in the same service.

We're aware of interest in requiring a role to be co-located with a role in a different service, and will keep that in mind for a future release.

Thanks,
Darren

avatar
Explorer

Hi,
Are there any latest updates on this for CM 6.x and/or 7.x?

avatar
Community Manager

Hi @FRG96 as this is an older post, you would have a better chance of receiving a resolution by starting a new thread. This will also be an opportunity to provide details specific to your environment that could aid others in assisting you with a more accurate answer to your question. You can link this thread as a reference in your new post.



Regards,

Vidya Sargur,
Community Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community: