[
https://issues.apache.org/jira/browse/HDFS-1531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Todd Lipcon updated HDFS-1531:
------------------------------
Attachment: hdfs-1531.txt
Trivial patch. I ran a unit test and verified that the ugly stack traces are
gone.
> Clean up stack traces due to duplicate MXBean registration
> ----------------------------------------------------------
>
> Key: HDFS-1531
> URL: https://issues.apache.org/jira/browse/HDFS-1531
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: data-node, name-node
> Affects Versions: 0.22.0
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Priority: Trivial
> Attachments: hdfs-1531.txt
>
>
> In the minicluster unit tests, we try to register MXBeans for each DN, but
> since the JMX context is JVM-wide, we get a InstanceAlreadyExistsException
> for all but the first. This stack trace clutters test logs a lot.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.