Print the stack trace of InstanceAlreadyExistsException in trace level ----------------------------------------------------------------------
Key: HADOOP-8118 URL: https://issues.apache.org/jira/browse/HADOOP-8118 Project: Hadoop Common Issue Type: Improvement Components: metrics Reporter: Tsz Wo (Nicholas), SZE Assignee: Tsz Wo (Nicholas), SZE Priority: Minor There are many InstanceAlreadyExistsException stack traces in the unit tests output like below. {noformat} javax.management.InstanceAlreadyExistsException: Hadoop:service=NameNode,name=NameNodeInfo at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:453) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1484) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:963) ... {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira