hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject [22/50] hadoop git commit: HDFS-10329. Bad initialisation of StringBuffer in RequestHedgingProxyProvider. Contributed by Lin Yiqun.
Date Tue, 03 May 2016 22:06:09 GMT
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/621be605
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/621be605
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/621be605

Branch: refs/heads/branch-2.8
Commit: 621be605920fecdfe2a798b40d62d0d70dcaee8a
Parents: 973c73a
Author: Kihwal Lee <kihwal@apache.org>
Authored: Tue Apr 26 11:47:15 2016 -0500
Committer: Kihwal Lee <kihwal@apache.org>
Committed: Tue Apr 26 11:47:15 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/621be605/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();


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message