Skip to content

Commit 63d8390

Browse files
committed
[SPARK-19295][SQL] IsolatedClientLoader's downloadVersion should log the location of downloaded metastore client jars
## What changes were proposed in this pull request? This will help the users to know the location of those downloaded jars when `spark.sql.hive.metastore.jars` is set to `maven`. ## How was this patch tested? jenkins Author: Yin Huai <[email protected]> Closes #16649 from yhuai/SPARK-19295.
1 parent 640f942 commit 63d8390

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sql/hive/src/main/scala/org/apache/spark/sql/hive/client/IsolatedClientLoader.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ private[hive] object IsolatedClientLoader extends Logging {
122122
// TODO: Remove copy logic.
123123
val tempDir = Utils.createTempDir(namePrefix = s"hive-${version}")
124124
allFiles.foreach(f => FileUtils.copyFileToDirectory(f, tempDir))
125+
logInfo(s"Downloaded metastore jars to ${tempDir.getCanonicalPath}")
125126
tempDir.listFiles().map(_.toURI.toURL)
126127
}
127128

0 commit comments

Comments
 (0)