Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-2994

Postpone CM configuration change monitoring until the Knox GW is up&running

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.0, 2.0.0, 1.6.0
    • 2.1.0
    • cm-discovery, Server
    • None

    Description

      As of now, Knox starts CM configuration change monitoring right away it starts the DefaultClusterConfigurationMonitorService. This action will trigger the PollingConfigurationAnalyzer even when descriptors with possible service discovery settings are not even initialized.

      My suggestion is to take advantage of the recently introduced GatewayStatusService and set the isActive flag to true based on the result of org.apache.knox.gateway.services.topology.impl.GatewayStatusService.status().

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            smolnar Sandor Molnar
            smolnar Sandor Molnar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m

                Slack

                  Issue deployment