Skip to content

Commit 0c48082

Browse files
committed
minor fix according to comments
1 parent 563fde1 commit 0c48082

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

core/src/main/scala/org/apache/spark/util/Utils.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,7 @@ private[spark] object Utils extends Logging {
871871
val exitCode = process.waitFor()
872872
stdoutThread.join() // Wait for it to finish reading output
873873
if (exitCode != 0) {
874-
logError(s"Process $command exited with code $exitCode: ${output.toString}")
874+
logError(s"Process $command exited with code $exitCode: ${output}")
875875
throw new SparkException("Process " + command + " exited with code " + exitCode)
876876
}
877877
output.toString

core/src/test/scala/org/apache/spark/DriverSuite.scala

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@
1818
package org.apache.spark
1919

2020
import java.io.File
21-
import java.util.Properties
22-
23-
import org.apache.log4j.{PropertyConfigurator, Logger, Level}
2421

2522
import org.scalatest.FunSuite
2623
import org.scalatest.concurrent.Timeouts

0 commit comments

Comments
 (0)