-
- Downloads
[SPARK-19925][SPARKR] Fix SparkR spark.getSparkFiles fails when it was called on executors.
## What changes were proposed in this pull request? SparkR ```spark.getSparkFiles``` fails when it was called on executors, see details at [SPARK-19925](https://issues.apache.org/jira/browse/SPARK-19925 ). ## How was this patch tested? Add unit tests, and verify this fix at standalone and yarn cluster. Author: Yanbo Liang <ybliang8@gmail.com> Closes #17274 from yanboliang/spark-19925. (cherry picked from commit 478fbc86) Signed-off-by:Yanbo Liang <ybliang8@gmail.com>
Showing
- R/pkg/R/context.R 14 additions, 2 deletionsR/pkg/R/context.R
- R/pkg/inst/tests/testthat/test_context.R 7 additions, 0 deletionsR/pkg/inst/tests/testthat/test_context.R
- core/src/main/scala/org/apache/spark/api/r/RRunner.scala 2 additions, 0 deletionscore/src/main/scala/org/apache/spark/api/r/RRunner.scala
Please register or sign in to comment