From a5eaa11dd24e370a820da2ac889d99086b6d32e0 Mon Sep 17 00:00:00 2001 From: Aaron Myers Date: Fri, 18 Jan 2013 18:40:44 +0000 Subject: [PATCH] HDFS-4359. Slow RPC responses from NN can prevent metrics collection on DNs. Contributed by liang xie. git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1435300 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 3 +++ .../org/apache/hadoop/hdfs/server/datanode/BPOfferService.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 546aaa01183..7cd70a41406 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -423,6 +423,9 @@ Release 2.0.3-alpha - Unreleased HDFS-4415. HostnameFilter should handle hostname resolution failures and continue processing. (Robert Kanter via atm) + HDFS-4359. Slow RPC responses from NN can prevent metrics collection on + DNs. (liang xie via atm) + BREAKDOWN OF HDFS-3077 SUBTASKS HDFS-3077. Quorum-based protocol for reading and writing edit logs. diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPOfferService.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPOfferService.java index 613414c3b5b..dc6dbe1f55a 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPOfferService.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPOfferService.java @@ -396,7 +396,7 @@ class BPOfferService { } @VisibleForTesting - synchronized List getBPServiceActors() { + List getBPServiceActors() { return Lists.newArrayList(bpServices); }