skonto commented on a change in pull request #24702: [Minor] [Kubernetes]
[Core] Added retries on the connection to the driver for k8s
URL: https://github.com/apache/spark/pull/24702#discussion_r291560599
##########
File path:
common/network-common/src/main/java/org/apache/spark/network/client/TransportClientFactory.java
##########
@@ -173,9 +173,11 @@ public TransportClient createClient(String remoteHost,
int remotePort)
final InetSocketAddress resolvedAddress = new
InetSocketAddress(remoteHost, remotePort);
final long hostResolveTimeMs = (System.nanoTime() - preResolveHost) /
1000000;
if (hostResolveTimeMs > 2000) {
- logger.warn("DNS resolution for {} took {} ms", resolvedAddress,
hostResolveTimeMs);
+ logger.warn("DNS resolution for {} took {} ms isUnresolved {}",
+ resolvedAddress, hostResolveTimeMs,
resolvedAddress.isUnresolved());
Review comment:
Do you have a sample output of this log entry?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]