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

(cherry picked from commit c6a2430b47)
This commit is contained in:
Kihwal Lee 2016-04-26 11:46:46 -05:00
parent 52bfa90fed
commit c991beac64
1 changed files with 1 additions and 1 deletions

View File

@ -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();