|
@@ -292,7 +292,7 @@ public class AbfsRestOperation {
|
|
|
} catch (UnknownHostException ex) {
|
|
|
String hostname = null;
|
|
|
hostname = httpOperation.getHost();
|
|
|
- LOG.warn("Unknown host name: %s. Retrying to resolve the host name...",
|
|
|
+ LOG.warn("Unknown host name: {}. Retrying to resolve the host name...",
|
|
|
hostname);
|
|
|
if (!client.getRetryPolicy().shouldRetry(retryCount, -1)) {
|
|
|
throw new InvalidAbfsRestOperationException(ex);
|
|
@@ -300,7 +300,7 @@ public class AbfsRestOperation {
|
|
|
return false;
|
|
|
} catch (IOException ex) {
|
|
|
if (LOG.isDebugEnabled()) {
|
|
|
- LOG.debug("HttpRequestFailure: {}, {}", httpOperation.toString(), ex);
|
|
|
+ LOG.debug("HttpRequestFailure: {}, {}", httpOperation, ex);
|
|
|
}
|
|
|
|
|
|
if (!client.getRetryPolicy().shouldRetry(retryCount, -1)) {
|
|
@@ -312,7 +312,7 @@ public class AbfsRestOperation {
|
|
|
AbfsClientThrottlingIntercept.updateMetrics(operationType, httpOperation);
|
|
|
}
|
|
|
|
|
|
- LOG.debug("HttpRequest: {}: {}", operationType, httpOperation.toString());
|
|
|
+ LOG.debug("HttpRequest: {}: {}", operationType, httpOperation);
|
|
|
|
|
|
if (client.getRetryPolicy().shouldRetry(retryCount, httpOperation.getStatusCode())) {
|
|
|
return false;
|