[ 
https://issues.apache.org/jira/browse/HADOOP-5237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13649735#comment-13649735
 ] 

Steven Yates commented on HADOOP-5237:
--------------------------------------

MBeanUtil updated to include commons logging.

1) method registerMBean(..) catch blocks now log exception stacktrace to error 
level logging for said class
2) private method getMBeanName signature updated to throw 
MalformedObjectNameException. Existing now redundant try/catch removed
3) TestMBeanUtil class created in org.apache.hadoop.util to verify correct 
ObjectName creation


                
> MBeanUtil should log errors using the logging API
> -------------------------------------------------
>
>                 Key: HADOOP-5237
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5237
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: metrics
>            Reporter: Tom White
>
> MBeanUtil prints stack traces to standard error. It should use commons 
> logging instead.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to