[
https://issues.apache.org/jira/browse/HDFS-13869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16709019#comment-16709019
]
Íñigo Goiri commented on HDFS-13869:
------------------------------------
A couple comments on [^HDFS-13869-HDFS-13891.009.patch]:
* {{testRouterMetricswhenDisabled()}} should be
{{testRouterMetricsWhenDisabled()}}.
* Can we use intercept in {{testRouterMetricsWhenDisabled()}}?
* I don't think there are changes in {{testRouterIDInRouterRpcClient()}}; can
we leave it as it was?
> RBF: Handle NPE for NamenodeBeanMetrics#getFederationMetrics()
> --------------------------------------------------------------
>
> Key: HDFS-13869
> URL: https://issues.apache.org/jira/browse/HDFS-13869
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: namenode
> Affects Versions: 3.0.0
> Reporter: Surendra Singh Lilhore
> Assignee: Ranith Sardar
> Priority: Major
> Attachments: HDFS-13869-002.diff, HDFS-13869-003.diff,
> HDFS-13869-004.patch, HDFS-13869-005.patch, HDFS-13869-006.patch,
> HDFS-13869-007.patch, HDFS-13869-HDFS-13891.009.patch, HDFS-13869.patch,
> HDFS-13891-HDFS-13869-008.patch
>
>
> {code:java}
> Caused by: java.lang.NullPointerException
> at
> org.apache.hadoop.hdfs.server.federation.metrics.NamenodeBeanMetrics.getUsed(NamenodeBeanMetrics.java:205)
> at
> org.apache.hadoop.hdfs.server.federation.metrics.NamenodeBeanMetrics.getCapacityUsed(NamenodeBeanMetrics.java:519)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43){code}
> ngMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]