LuciferYang commented on a change in pull request #35509:
URL: https://github.com/apache/spark/pull/35509#discussion_r805603065
##########
File path:
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/KubernetesUtils.scala
##########
@@ -344,7 +344,7 @@ object KubernetesUtils extends Logging {
delSrc : Boolean = false,
overwrite: Boolean = true): Unit = {
try {
- fs.copyFromLocalFile(false, true, src, dest)
+ fs.copyFromLocalFile(delSrc, overwrite, src, dest)
Review comment:
The called method is:
```java
public void copyFromLocalFile(boolean delSrc, boolean overwrite, Path src,
Path dst) throws IOException {
Configuration conf = this.getConf();
FileUtil.copy(getLocal(conf), src, this, dst, delSrc, overwrite,
conf);
}
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]