Kaynağa Gözat

HADOOP-14658. branch-2 compilation is broken in hadoop-azure
Contributed by Sunil G.

Signed-off-by: Steve Loughran <stevel@apache.org>

Steve Loughran 8 yıl önce
ebeveyn
işleme
df69b13b47

+ 2 - 1
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azure/WasbRemoteCallHelper.java

@@ -21,6 +21,7 @@ package org.apache.hadoop.fs.azure;
 import com.google.common.annotations.VisibleForTesting;
 import org.apache.hadoop.fs.azure.security.Constants;
 import org.apache.hadoop.io.retry.RetryPolicy;
+import org.apache.hadoop.util.StringUtils;
 import org.apache.http.Header;
 import org.apache.http.HttpResponse;
 import org.apache.http.HttpStatus;
@@ -190,7 +191,7 @@ public class WasbRemoteCallHelper {
                                 : urls[index]);
         } catch (IOException ioex) {
           String message =
-              "Encountered error while making remote call to " + String
+              "Encountered error while making remote call to " + StringUtils
                   .join(",", urls) + " retried " + retry + " time(s).";
           LOG.error(message, ioex);
           throw new WasbRemoteCallException(message, ioex);