Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-7616

GridDataStreamExecutor and GridCallbackExecutor JMX beans return incorrect values due to invalid interface registration.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.4
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Two of newly added management beans as a result of implementing feature request https://issues.apache.org/jira/browse/IGNITE-7217 have bugs:

      1. GridDataStreamExecutor is registered as conforming to ThreadPoolMXBean interface, though actually it is an incompatible StripedExecutor. 
      2. GridCallbackExecutor is registered as conforming to ThreadPoolMXBean interface, though actually it is an incompatible IgniteStripedThreadPoolExecutor.
      3. ThreadPoolMXBeanAdapter checks whether adapted instance is ThreadPoolExecutor, and as interfaces are incompatible, most of the JMX attributes of GridCallbackExecutor and GridDataStreamExecutor are returned as -1 or null.

        Attachments

        1. image-2018-10-03-10-23-24-676.png
          176 kB
          David Harvey
        2. image-2018-10-03-10-24-12-459.png
          89 kB
          David Harvey
        3. master_1b3742f4d7_mxbeans_threads2.patch
          16 kB
          David Harvey

          Issue Links

            Activity

              People

              • Assignee:
                syssoftsol David Harvey
                Reporter:
                mshonichev Max Shonichev
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated: