HDFS-10329. Bad initialisation of StringBuffer in RequestHedgingProxyProvider. Contributed by Lin Yiqun.
This commit is contained in:
parent
1a3f1482e2
commit
c6a2430b47
|
@ -164,7 +164,7 @@ public class RequestHedgingProxyProvider<T> extends
|
||||||
return successfulProxy;
|
return successfulProxy;
|
||||||
}
|
}
|
||||||
Map<String, ProxyInfo<T>> targetProxyInfos = new HashMap<>();
|
Map<String, ProxyInfo<T>> targetProxyInfos = new HashMap<>();
|
||||||
StringBuilder combinedInfo = new StringBuilder('[');
|
StringBuilder combinedInfo = new StringBuilder("[");
|
||||||
for (int i = 0; i < proxies.size(); i++) {
|
for (int i = 0; i < proxies.size(); i++) {
|
||||||
ProxyInfo<T> pInfo = super.getProxy();
|
ProxyInfo<T> pInfo = super.getProxy();
|
||||||
incrementProxyIndex();
|
incrementProxyIndex();
|
||||||
|
|
Loading…
Reference in New Issue