gengliangwang commented on code in PR #46309:
URL: https://github.com/apache/spark/pull/46309#discussion_r1585635909


##########
core/src/main/scala/org/apache/spark/util/Utils.scala:
##########
@@ -397,16 +398,16 @@ private[spark] object Utils
       // Decompress the file if it's a .tar or .tar.gz
       if (fileName.endsWith(".tar.gz") || fileName.endsWith(".tgz")) {
         logWarning(
-          "Untarring behavior will be deprecated at spark.files and " +
-            "SparkContext.addFile. Consider using spark.archives or 
SparkContext.addArchive " +
-            "instead.")
+          log"Untarring behavior will be deprecated at spark.files and " +

Review Comment:
   This one is not needed



##########
core/src/main/scala/org/apache/spark/util/Utils.scala:
##########
@@ -397,16 +398,16 @@ private[spark] object Utils
       // Decompress the file if it's a .tar or .tar.gz
       if (fileName.endsWith(".tar.gz") || fileName.endsWith(".tgz")) {
         logWarning(
-          "Untarring behavior will be deprecated at spark.files and " +
-            "SparkContext.addFile. Consider using spark.archives or 
SparkContext.addArchive " +
-            "instead.")
+          log"Untarring behavior will be deprecated at spark.files and " +
+            log"SparkContext.addFile. Consider using spark.archives or 
SparkContext.addArchive " +
+            log"instead.")
         logInfo("Untarring " + fileName)
         executeAndGetOutput(Seq("tar", "-xzf", fileName), targetDir)
       } else if (fileName.endsWith(".tar")) {
         logWarning(
-          "Untarring behavior will be deprecated at spark.files and " +
-            "SparkContext.addFile. Consider using spark.archives or 
SparkContext.addArchive " +
-            "instead.")
+          log"Untarring behavior will be deprecated at spark.files and " +

Review Comment:
   ditto



-- 
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-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to