Skip to content

Commit

Permalink
update code style
Browse files Browse the repository at this point in the history
  • Loading branch information
lianhuiwang committed Apr 19, 2015
1 parent 9f31dac commit 31e8e06
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,7 @@ private[spark] class Client(
sys.env.get("PYSPARK_ARCHIVES_PATH").map { archives =>
// archives will be distributed to each machine's working directory, so strip the
// path prefix
val pythonPath = archives.split(",").map(
p => (new Path(p)).getName).mkString(":")
val pythonPath = archives.split(",").map(p => (new Path(p)).getName).mkString(":")
env("PYTHONPATH") = pythonPath
sparkConf.setExecutorEnv("PYTHONPATH", pythonPath)
}
Expand Down

0 comments on commit 31e8e06

Please sign in to comment.