You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Kevin Risden (Jira)" <ji...@apache.org> on 2020/01/16 15:50:00 UTC

[jira] [Commented] (KNOX-2186) Cloudera Manager integration - filter services

    [ https://issues.apache.org/jira/browse/KNOX-2186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17017049#comment-17017049 ] 

Kevin Risden commented on KNOX-2186:
------------------------------------

I don't think the following is specific to CM:

{quote}*2.)* There are some services - mainly UI services - that are not working without some more required services in place (mainly their API counterpart). For instance: {{RANGERUI}} won't work properly if {{RANGER}} is not available.

The new Hadoop XML configuration parser should be modified to not to add any service into the generated Knox descriptor unless
 * all required services are available (if any)
 * all required services are enabled (see the previous point){quote}

This seems like a completely separate concern. It probably makes sense to address this separately. It would be better to encode say in a service definition dependences between services - like RANGERUI depends on RANGER. This could then be used in the general case not just for CM. It also makes it so it isn't hardcoded inside of the CM module.

> Cloudera Manager integration - filter services
> ----------------------------------------------
>
>                 Key: KNOX-2186
>                 URL: https://issues.apache.org/jira/browse/KNOX-2186
>             Project: Apache Knox
>          Issue Type: New Feature
>          Components: Server
>    Affects Versions: 1.4.0
>            Reporter: Sandor Molnar
>            Assignee: Sandor Molnar
>            Priority: Major
>             Fix For: 1.4.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> With KNOX-2160, Knos is capable of processing a Hadoop XML configuration file and turn its content into Knox providers.
> It'd be beneficial to add support for the following use cases that are also Cloudera Manager integration specific:
>  *1.)* Cloudera Manager reports if auto-discovery is {{enabled}} for each known services. That is, a list of boolean properties can be generated by CM indicating if {{SERVICE_X}} is enabled or not in the following form: {{gateway.auto.discovery.enabled.SERVICE_NAME=[true|false]}}
> The new Hadoop XML configuration parser should take this information into account, and add a certain service into the generated Knox descriptor only if that service is explicitly {{enabled}} or there is no boolean flag within the CM generated properties with that service name (indicating an unknown - custom - service)
> *2.)* There are some services - mainly UI services - that are not working without some more required services in place (mainly their API counterpart). For instance: {{RANGERUI}} won't work properly if {{RANGER}} is not available.
> The new Hadoop XML configuration parser should be modified to not to add any service into the generated Knox descriptor unless
>  * all required services are available (if any)
>  * all required services are enabled (see the previous point)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)