-
- Downloads
[SPARK-5801] [core] Avoid creating nested directories.
Cache the value of the local root dirs to use for storing local data, so that the same directories are reused. Also, to avoid an extra level of nesting, use a different env variable to propagate the local dirs from the Worker to the executors. And make the executor directory use a different name. Author: Marcelo Vanzin <vanzin@cloudera.com> Closes #4747 from vanzin/SPARK-5801 and squashes the following commits: e0114e1 [Marcelo Vanzin] Update unit test. 18ee0a7 [Marcelo Vanzin] [SPARK-5801] [core] Avoid creating nested directories.
Showing
- core/src/main/scala/org/apache/spark/deploy/worker/ExecutorRunner.scala 1 addition, 1 deletion...scala/org/apache/spark/deploy/worker/ExecutorRunner.scala
- core/src/main/scala/org/apache/spark/deploy/worker/Worker.scala 2 additions, 2 deletions...rc/main/scala/org/apache/spark/deploy/worker/Worker.scala
- core/src/main/scala/org/apache/spark/util/Utils.scala 23 additions, 0 deletionscore/src/main/scala/org/apache/spark/util/Utils.scala
- core/src/test/scala/org/apache/spark/storage/LocalDirsSuite.scala 6 additions, 2 deletions.../test/scala/org/apache/spark/storage/LocalDirsSuite.scala
Please register or sign in to comment