UIMA
  1. UIMA
  2. UIMA-1680

Async Scaleout Monitor has many issues

    Details

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

      Description

      uima.jmx.monitor.interval is required (not optional) to activate the internal JMX logging.

      During testing by Burn and Eddie: Output is not appearing; null pointer exception is thrown:

      Exception in thread "Thread-25" java.lang.NullPointerException

      at org.apache.uima.aae.jmx.monitor.SingleLineUimaJmxMonitorListener.onNewMetrics(SingleLineUimaJmxMonitorListener.java:75)

      at org.apache.uima.aae.jmx.monitor.JmxMonitor.notifyListeners(JmxMonitor.java:132)

      at org.apache.uima.aae.jmx.monitor.JmxMonitor.run(JmxMonitor.java:539)

      at java.lang.Thread.run(Thread.java:735)

      Getting message: 19: org.apache.uima.aae.jmx.monitor.JmxMonitor.collectStats: WARNING: Thread: Thread-25 Exception:java.lang.reflect.UndeclaredThrowableException (May be OK?)

      On Linux: got an InstantiationException loading the basic formatter class

        Activity

        Hide
        Jerry Cwiklik added a comment -

        Fixed the source of NPE in the JmxMonitor class. Updated documentation to remove a comment that says that the -Duima.jmx.monitor.interval=xx is optional. Tested on Linux platform and see no problems.

        Show
        Jerry Cwiklik added a comment - Fixed the source of NPE in the JmxMonitor class. Updated documentation to remove a comment that says that the -Duima.jmx.monitor.interval=xx is optional. Tested on Linux platform and see no problems.
        Hide
        Marshall Schor added a comment -

        Because of these issues, I'm deferring this to past 2.3.0 - and temporarily altering the docs to reflect that this isn't quite working.

        Show
        Marshall Schor added a comment - Because of these issues, I'm deferring this to past 2.3.0 - and temporarily altering the docs to reflect that this isn't quite working.
        Hide
        Burn Lewis added a comment -

        Correction: the property specified in the doc is uima.jmx.monitor.interval

        Show
        Burn Lewis added a comment - Correction: the property specified in the doc is uima.jmx.monitor.interval

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development