Skip to content

Commit 31e8e06

Browse files
committed
update code style
1 parent 9f31dac commit 31e8e06

File tree

1 file changed

+1
-2
lines changed
  • yarn/src/main/scala/org/apache/spark/deploy/yarn

1 file changed

+1
-2
lines changed

yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,7 @@ private[spark] class Client(
331331
sys.env.get("PYSPARK_ARCHIVES_PATH").map { archives =>
332332
// archives will be distributed to each machine's working directory, so strip the
333333
// path prefix
334-
val pythonPath = archives.split(",").map(
335-
p => (new Path(p)).getName).mkString(":")
334+
val pythonPath = archives.split(",").map(p => (new Path(p)).getName).mkString(":")
336335
env("PYTHONPATH") = pythonPath
337336
sparkConf.setExecutorEnv("PYTHONPATH", pythonPath)
338337
}

0 commit comments

Comments
 (0)