You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/08/18 01:49:46 UTC
[GitHub] [spark] fhygh commented on a change in pull request #33760: [SPARK-36518][Deploy] Spark should support distribute directory to cluster
fhygh commented on a change in pull request #33760:
URL: https://github.com/apache/spark/pull/33760#discussion_r690839924
##########
File path: core/src/main/scala/org/apache/spark/util/DependencyUtils.scala
##########
@@ -316,7 +316,7 @@ private[spark] object DependencyUtils extends Logging {
case _ =>
val fs = FileSystem.get(uri, hadoopConf)
Option(fs.globStatus(new Path(uri))).map { status =>
- status.filter(_.isFile).map(_.getPath.toUri.toString)
+ status.map(_.getPath.toUri.toString)
Review comment:
yes, it worked, and jars are using addJar function
--
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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org