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

ASF subversion and git services commented on KNOX-2907:
-------------------------------------------------------

Commit 82d6d603933fd012ad692c7cce729f9b03db1208 in knox's branch 
refs/heads/master from Sandor Molnar
[ https://gitbox.apache.org/repos/asf?p=knox.git;h=82d6d6039 ]

KNOX-2907 - PollingConfigurationAnalyzer ignores services without service model 
generator (#755)



> Events related to non-proxied services cause Knox to perform a topology 
> redeploy
> --------------------------------------------------------------------------------
>
>                 Key: KNOX-2907
>                 URL: https://issues.apache.org/jira/browse/KNOX-2907
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: cm-discovery
>    Affects Versions: 2.0.0, 1.6.0, 1.6.1
>            Reporter: Sandor Molnar
>            Assignee: Sandor Molnar
>            Priority: Major
>             Fix For: 2.1.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Services without a ServiceModelGenerator are skipped during discovery and 
> never added to the service configuration cache. 
> [https://github.infra.cloudera.com/CDH/knox/blob/d2b5466cb417f7b3882315c3d048d12e3252bb9c/gateway-discovery-cm/src/main/java/org/apache/knox/gateway/topology/discovery/cm/ClouderaManagerServiceDiscovery.java#L304]
> The {{PollingConfigurationAnalyzer}} does not filter the events received from 
> CM and tries to find the source service in the configuration cache, which of 
> course won't be possible due to the above causing non-proxied services to be 
> handled as services newly enabled for proxying.
> [https://github.infra.cloudera.com/CDH/knox/blob/d2b5466cb417f7b3882315c3d048d12e3252bb9c/gateway-discovery-cm/src/main/java/org/apache/knox/gateway/topology/discovery/cm/monitor/PollingConfigurationAnalyzer.java#L267]
> Example services: QUEUEMANAGER (QUEUEMANAGER-1), HIVE_METASTORE (HIVE-1)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to