[ https://issues.apache.org/jira/browse/HDFS-14550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16858226#comment-16858226 ]
Akira Ajisaka commented on HDFS-14550: -------------------------------------- +1, thanks [~hexiaoqiao]. > RBF: Failed to get statistics from NameNodes before 2.9.0 > --------------------------------------------------------- > > Key: HDFS-14550 > URL: https://issues.apache.org/jira/browse/HDFS-14550 > Project: Hadoop HDFS > Issue Type: Sub-task > Reporter: Akira Ajisaka > Assignee: He Xiaoqiao > Priority: Major > Attachments: HDFS-14550-HDFS-13891.001.patch > > > DFSRouter fails to get stats from NameNodes that do not have HDFS-7877 > {noformat} > 2019-06-03 17:40:15,407 ERROR > org.apache.hadoop.hdfs.server.federation.router.NamenodeHeartbeatService: > Cannot get stat from nn1:nn01:8022 using JMX > org.codehaus.jettison.json.JSONException: > JSONObject["NumInMaintenanceLiveDataNodes"] not found. > at org.codehaus.jettison.json.JSONObject.get(JSONObject.java:360) > at org.codehaus.jettison.json.JSONObject.getInt(JSONObject.java:421) > at > org.apache.hadoop.hdfs.server.federation.router.NamenodeHeartbeatService.updateJMXParameters(NamenodeHeartbeatService.java:345) > at > org.apache.hadoop.hdfs.server.federation.router.NamenodeHeartbeatService.getNamenodeStatusReport(NamenodeHeartbeatService.java:278) > at > org.apache.hadoop.hdfs.server.federation.router.NamenodeHeartbeatService.updateState(NamenodeHeartbeatService.java:206) > at > org.apache.hadoop.hdfs.server.federation.router.NamenodeHeartbeatService.periodicInvoke(NamenodeHeartbeatService.java:160) > at > org.apache.hadoop.hdfs.server.federation.router.PeriodicService$1.run(PeriodicService.java:178) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > at java.lang.Thread.run(Thread.java:748) > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org