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

Create mechanism of delivering commands via WebUI

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: