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.

Can a CSD role have a node role dependency?

avatar
Visitor

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: