hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wan...@apache.org
Subject [14/50] [abbrv] hadoop git commit: HDFS-10329. Bad initialisation of StringBuffer in RequestHedgingProxyProvider. Contributed by Lin Yiqun.
Date Thu, 28 Apr 2016 18:01:58 GMT
HDFS-10329. Bad initialisation of StringBuffer in RequestHedgingProxyProvider. Contributed
by Lin Yiqun.


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

Branch: refs/heads/YARN-3368
Commit: c6a2430b47692a72c500373d6fc1bce78652675b
Parents: 1a3f148
Author: Kihwal Lee <kihwal@apache.org>
Authored: Tue Apr 26 11:45:29 2016 -0500
Committer: Kihwal Lee <kihwal@apache.org>
Committed: Tue Apr 26 11:45:29 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/c6a2430b/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