HDFS-10329. Bad initialisation of StringBuffer in RequestHedgingProxyProvider. Contributed by Lin Yiqun.
(cherry picked from commit c6a2430b47
)
This commit is contained in:
parent
52bfa90fed
commit
c991beac64
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue