|
@@ -303,7 +303,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);
|
|
@@ -311,7 +311,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)) {
|
|
@@ -323,7 +323,7 @@ public class AbfsRestOperation {
|
|
|
intercept.updateMetrics(operationType, httpOperation);
|
|
|
}
|
|
|
|
|
|
- LOG.debug("HttpRequest: {}: {}", operationType, httpOperation.toString());
|
|
|
+ LOG.debug("HttpRequest: {}: {}", operationType, httpOperation);
|
|
|
|
|
|
if (client.getRetryPolicy().shouldRetry(retryCount, httpOperation.getStatusCode())) {
|
|
|
return false;
|