Github user srowen commented on a diff in the pull request:
https://github.com/apache/spark/pull/19885#discussion_r154891674
--- Diff:
resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala
---
@@ -1428,6 +1428,12 @@ private object Client extends Logging {
return false
}
+ val srcAuthority = srcUri.getAuthority()
+ val dstAuthority = dstUri.getAuthority()
+ if (srcAuthority != null &&
!srcAuthority.equalsIgnoreCase(dstAuthority)) {
--- End diff --
Now, if src is null and dst is not, this fails to detect they're different.
Please see my previous comment again.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]