[jira] [Updated] (HDFS-3099) SecondaryNameNode does not properly initialize metrics system

2012-03-15 Thread Aaron T. Myers (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-3099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aaron T. Myers updated HDFS-3099:
-

   Resolution: Fixed
Fix Version/s: 0.23.3
 Hadoop Flags: Reviewed
   Status: Resolved  (was: Patch Available)

I've just committed this to trunk and branch-0.23.

> SecondaryNameNode does not properly initialize metrics system
> -
>
> Key: HDFS-3099
> URL: https://issues.apache.org/jira/browse/HDFS-3099
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: name-node
>Affects Versions: 0.23.2
>Reporter: Aaron T. Myers
>Assignee: Aaron T. Myers
> Fix For: 0.23.3
>
> Attachments: HDFS-3099.patch, HDFS-3099.patch, HDFS-3099.patch
>
>
> The SecondaryNameNode is not properly initializing its metrics system. This 
> results in the UgiMetrics, Metrics subsystem stats, and JvmMetrics not being 
> output.

--
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




[jira] [Updated] (HDFS-3099) SecondaryNameNode does not properly initialize metrics system

2012-03-15 Thread Aaron T. Myers (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-3099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aaron T. Myers updated HDFS-3099:
-

Attachment: HDFS-3099.patch

Switch to using before/after class.

> SecondaryNameNode does not properly initialize metrics system
> -
>
> Key: HDFS-3099
> URL: https://issues.apache.org/jira/browse/HDFS-3099
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: name-node
>Affects Versions: 0.23.2
>Reporter: Aaron T. Myers
>Assignee: Aaron T. Myers
> Attachments: HDFS-3099.patch, HDFS-3099.patch, HDFS-3099.patch
>
>
> The SecondaryNameNode is not properly initializing its metrics system. This 
> results in the UgiMetrics, Metrics subsystem stats, and JvmMetrics not being 
> output.

--
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




[jira] [Updated] (HDFS-3099) SecondaryNameNode does not properly initialize metrics system

2012-03-15 Thread Aaron T. Myers (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-3099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aaron T. Myers updated HDFS-3099:
-

Attachment: HDFS-3099.patch

Here's another patch which just adds a simple test case.

> SecondaryNameNode does not properly initialize metrics system
> -
>
> Key: HDFS-3099
> URL: https://issues.apache.org/jira/browse/HDFS-3099
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: name-node
>Affects Versions: 0.23.2
>Reporter: Aaron T. Myers
>Assignee: Aaron T. Myers
> Attachments: HDFS-3099.patch, HDFS-3099.patch
>
>
> The SecondaryNameNode is not properly initializing its metrics system. This 
> results in the UgiMetrics, Metrics subsystem stats, and JvmMetrics not being 
> output.

--
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




[jira] [Updated] (HDFS-3099) SecondaryNameNode does not properly initialize metrics system

2012-03-15 Thread Aaron T. Myers (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-3099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aaron T. Myers updated HDFS-3099:
-

Attachment: HDFS-3099.patch

Here's a trivial patched which fixes the issue. I tested this manually by 
starting up a 2NN and browsing to "/jmx". I confirmed that the expected metrics 
do appear with this patch, where as they do not without it.

> SecondaryNameNode does not properly initialize metrics system
> -
>
> Key: HDFS-3099
> URL: https://issues.apache.org/jira/browse/HDFS-3099
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: name-node
>Affects Versions: 0.23.2
>Reporter: Aaron T. Myers
>Assignee: Aaron T. Myers
> Attachments: HDFS-3099.patch
>
>
> The SecondaryNameNode is not properly initializing its metrics system. This 
> results in the UgiMetrics, Metrics subsystem stats, and JvmMetrics not being 
> output.

--
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




[jira] [Updated] (HDFS-3099) SecondaryNameNode does not properly initialize metrics system

2012-03-15 Thread Aaron T. Myers (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-3099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aaron T. Myers updated HDFS-3099:
-

Status: Patch Available  (was: Open)

> SecondaryNameNode does not properly initialize metrics system
> -
>
> Key: HDFS-3099
> URL: https://issues.apache.org/jira/browse/HDFS-3099
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: name-node
>Affects Versions: 0.23.2
>Reporter: Aaron T. Myers
>Assignee: Aaron T. Myers
> Attachments: HDFS-3099.patch
>
>
> The SecondaryNameNode is not properly initializing its metrics system. This 
> results in the UgiMetrics, Metrics subsystem stats, and JvmMetrics not being 
> output.

--
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