You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Matthew Wong (Jira)" <ji...@apache.org> on 2020/09/23 00:06:00 UTC

[jira] [Created] (KAFKA-10512) JmxTool Can Crash on Unmarshall Error

Matthew Wong created KAFKA-10512:
------------------------------------

             Summary: JmxTool Can Crash on Unmarshall Error
                 Key: KAFKA-10512
                 URL: https://issues.apache.org/jira/browse/KAFKA-10512
             Project: Kafka
          Issue Type: Bug
          Components: tools
    Affects Versions: 2.6.0
            Reporter: Matthew Wong


JmxTool can potentially crash from errors when querying for MBean objects. The errors can be caused by MBean objects that have attributes which can't be serialized.

When querying for all metrics, if the tool encounters such nonserializable MBean attributes, the tool will crash without outputting any metrics. Instead, the tool should print an error message and filter out the problematic objects, proceeding to print all other metrics.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)