You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yanbo Liang (JIRA)" <ji...@apache.org> on 2017/03/12 08:38:04 UTC

[jira] [Updated] (SPARK-19925) SparkR spark.getSparkFiles fails on executor

     [ https://issues.apache.org/jira/browse/SPARK-19925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yanbo Liang updated SPARK-19925:
--------------------------------
    Description: 
{code}
spark.addFile("./README.md")
seq <- seq(from = 1, to = 10, length.out = 5)
train <- function(seq) {
path <- spark.getSparkFiles("README.md")
print(path)
}
spark.lapply(seq, train)
{code}

  was:
{{code}}
spark.addFile("./README.md")
seq <- seq(from = 1, to = 10, length.out = 5)
train <- function(seq) {
path <- spark.getSparkFiles("README.md")
print(path)
}
spark.lapply(seq, train)
{{code}}


> SparkR spark.getSparkFiles fails on executor
> --------------------------------------------
>
>                 Key: SPARK-19925
>                 URL: https://issues.apache.org/jira/browse/SPARK-19925
>             Project: Spark
>          Issue Type: Bug
>          Components: SparkR
>    Affects Versions: 2.1.0
>            Reporter: Yanbo Liang
>            Priority: Critical
>
> {code}
> spark.addFile("./README.md")
> seq <- seq(from = 1, to = 10, length.out = 5)
> train <- function(seq) {
> path <- spark.getSparkFiles("README.md")
> print(path)
> }
> spark.lapply(seq, train)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org