Uploaded image for project: 'Sentry (Retired)'
  1. Sentry (Retired)
  2. SENTRY-2027

Create mechanism of delivering commands via WebUI

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • None
    • None

    Description

      Need to support triggering full updates from HMS to Sentry and from Sentry to NameNode. WebUI is natural choice. Need dedicated servlet to pass simple notifications to intended Sentry components plus some flexible mechanism for components to receive those notifications. Suggested mechanism is publish-subscribe, which is very flexible, and once implemented, allows adding new functionality with virtually no coding effort.

      Web form presents Topic and Message text fields, Submit button, and text area for reporting information / errors back from the server. Message field can be empty.

      For example, topic "hms-sync" can trigger full update from HMS, and topic "nn-sync" can trigger full update to NameNode.

      Securing WebUI will be addressed in a separate JIRA. To mitigate security concerns, forced sync functionality, as well as the publish-subscribe web servlet will be disabled by default, and can be activated by reconfiguration.

      The implementation is intended to be most basic.

      After this mechanism is implemented, will proceed with two more JIRAs to implement full updates for HMS and NN.

      Attachments

        1. SENTRY-2027.03.patch
          20 kB
          Vadim Spector

        Issue Links

          Activity

            People

              vspector@gmail.com Vadim Spector
              vspector@gmail.com Vadim Spector
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: