UIMA
  1. UIMA
  2. UIMA-2084

Extend UIMA AS service JMX API to dump service state

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.1AS
    • Component/s: Async Scaleout
    • Labels:
      None

      Description

      Currently UIMA AS jmx service InfoMBean shows the state of a service as INITIALIZING, RUNNING, DISABLED, STOPPING, or FAILED. Extend UIMA AS aggregate to show the state of each delegate both remote and co-located. In case the aggregate is hung during initialization, dumping state of each delegate may help pin point a cause of the hang if the culprit is a delegate. When a delegate returns its metadata to the aggregate its state should change from INITIALIZING to RUNNING. Modify service JMX InfoMBean to include a new method dumpState() to enable dumping state of each UIMA AS service.

        Activity

        Jerry Cwiklik created issue -
        Jerry Cwiklik made changes -
        Field Original Value New Value
        Description Currently UIMA AS jmx service InfoMBean shows the state of a service as INITIALIZING, RUNNING, DISABLED, STOPPING, or FAILED. Extend UIMA AS aggregate to show the state of each delegate both remote and co-located. In case the aggregate is hung during initialization, dumping state of each delegate may help pin point a cause of the hang if the culprit is a delegate. When a delegate returns its metadata to the aggregate its state should change from INITIALIZING to RUNNING. Currently UIMA AS jmx service InfoMBean shows the state of a service as INITIALIZING, RUNNING, DISABLED, STOPPING, or FAILED. Extend UIMA AS aggregate to show the state of each delegate both remote and co-located. In case the aggregate is hung during initialization, dumping state of each delegate may help pin point a cause of the hang if the culprit is a delegate. When a delegate returns its metadata to the aggregate its state should change from INITIALIZING to RUNNING. Modify service JMX InfoMBean to include a new method dumpState() to enable dumping state of each UIMA AS service.
        Hide
        Jerry Cwiklik added a comment -

        Added new API to UIMA AS ServiceInfo MBean to enable dumping of service state. The new method dumpState() is now available in the MBean Operations. UIMA AS Aggregate traverses all its delegates asking each to dump state. If the delegate is a co-located Aggregate, its delegates are asked to dump state. This produces a complete state of all internal components. The state of a delegate is changed to RUNNING if it responds to GetMeta to its client.

        Show
        Jerry Cwiklik added a comment - Added new API to UIMA AS ServiceInfo MBean to enable dumping of service state. The new method dumpState() is now available in the MBean Operations. UIMA AS Aggregate traverses all its delegates asking each to dump state. If the delegate is a co-located Aggregate, its delegates are asked to dump state. This produces a complete state of all internal components. The state of a delegate is changed to RUNNING if it responds to GetMeta to its client.
        Jerry Cwiklik made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        3d 22h 39m 1 Jerry Cwiklik 08/Mar/11 20:23

          People

          • Assignee:
            Jerry Cwiklik
            Reporter:
            Jerry Cwiklik
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development