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

Jean Pierre PIN updated SPARK-26250:
------------------------------------
    Description: 
I get an error=2 running spark-submit examples/src/main/r/dataframe.R
 the script is working with Rstudio but i've changed the library(SparkR) line  
with this one

library(SparkR, lib.loc = c(file.path(Sys.getenv("SPARK_HOME"), "R", "lib")))

i am at the top root directory of spark installation and the path variable for 
/bin is specified in the environment so spark-submit is found.  On system 
window 7 Ultimate 64bits

read "main" java.io.IOException: Cannot run program "Rscript": CreateProcess 
error=2, The system cannot find the file specified

I think the issue is known for a long but i don't find any post.
 Thanks for answer.

  was:
I get an error=2 running spark-submit examples/src/main/r/dataframe.R
the script is working with Rstudio but i've changed the library(SparkR) line  
with this one

library(SparkR, lib.loc = c(file.path(Sys.getenv("SPARK_HOME"), "R", "lib")))

i am at the top root directory of spark installation and the path variable for 
/bin is specified in the environment so spark-submit is found.  On system 
window 7 pro 64bits

read "main" java.io.IOException: Cannot run program "Rscript": CreateProcess 
error=2, The system cannot find the file specified

I think the issue is known for a long but i don't find any post.
Thanks for answer.


> Fail to run dataframe.R examples
> --------------------------------
>
>                 Key: SPARK-26250
>                 URL: https://issues.apache.org/jira/browse/SPARK-26250
>             Project: Spark
>          Issue Type: Test
>          Components: Examples
>    Affects Versions: 2.4.0
>            Reporter: Jean Pierre PIN
>            Priority: Major
>
> I get an error=2 running spark-submit examples/src/main/r/dataframe.R
>  the script is working with Rstudio but i've changed the library(SparkR) line 
>  with this one
> library(SparkR, lib.loc = c(file.path(Sys.getenv("SPARK_HOME"), "R", "lib")))
> i am at the top root directory of spark installation and the path variable 
> for /bin is specified in the environment so spark-submit is found.  On system 
> window 7 Ultimate 64bits
> read "main" java.io.IOException: Cannot run program "Rscript": CreateProcess 
> error=2, The system cannot find the file specified
> I think the issue is known for a long but i don't find any post.
>  Thanks for answer.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to