[
https://issues.apache.org/jira/browse/KNOX-2907?focusedWorklogId=860792&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-860792
]
ASF GitHub Bot logged work on KNOX-2907:
----------------------------------------
Author: ASF GitHub Bot
Created on: 05/May/23 15:38
Start Date: 05/May/23 15:38
Worklog Time Spent: 10m
Work Description: smolnar82 merged PR #755:
URL: https://github.com/apache/knox/pull/755
Issue Time Tracking
-------------------
Worklog Id: (was: 860792)
Time Spent: 20m (was: 10m)
> 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)