hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kih...@apache.org
Subject hadoop git commit: HDFS-10329. Bad initialisation of StringBuffer in RequestHedgingProxyProvider. Contributed by Lin Yiqun.
Date Tue, 26 Apr 2016 16:46:59 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 52bfa90fe -> c991beac6


HDFS-10329. Bad initialisation of StringBuffer in RequestHedgingProxyProvider. Contributed
by Lin Yiqun.

(cherry picked from commit c6a2430b47692a72c500373d6fc1bce78652675b)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/c991beac
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/c991beac
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/c991beac

Branch: refs/heads/branch-2
Commit: c991beac64a6ae09471c64720c96ab8042591640
Parents: 52bfa90
Author: Kihwal Lee <kihwal@apache.org>
Authored: Tue Apr 26 11:46:46 2016 -0500
Committer: Kihwal Lee <kihwal@apache.org>
Committed: Tue Apr 26 11:46:46 2016 -0500

----------------------------------------------------------------------
 .../hdfs/server/namenode/ha/RequestHedgingProxyProvider.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/c991beac/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/RequestHedgingProxyProvider.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/RequestHedgingProxyProvider.java
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/RequestHedgingProxyProvider.java
index f4d2c6b..d8a516e 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/RequestHedgingProxyProvider.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/RequestHedgingProxyProvider.java
@@ -164,7 +164,7 @@ public class RequestHedgingProxyProvider<T> extends
       return successfulProxy;
     }
     Map<String, ProxyInfo<T>> targetProxyInfos = new HashMap<>();
-    StringBuilder combinedInfo = new StringBuilder('[');
+    StringBuilder combinedInfo = new StringBuilder("[");
     for (int i = 0; i < proxies.size(); i++) {
       ProxyInfo<T> pInfo = super.getProxy();
       incrementProxyIndex();


Mime
View raw message