spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Ian.Malo...@tdameritrade.com>
Subject Issue Running sparkR on YARN
Date Wed, 09 Nov 2016 20:11:18 GMT
Hi,

I’m trying to run sparkR (1.5.2) on YARN and I get:

 java.io.IOException: Cannot run program "Rscript": error=2, No such file or directory

This strikes me as odd, because I can go to each node and various users and type Rscript and
it works. I’ve done this on each node and spark-env.sh as well: export R_HOME=/path/to/R

This is how I’m setting it on the nodes (/etc/profile.d/path_edit.sh):

export R_HOME=/app/hdp_app/anaconda/bin/R
PATH=$PATH:/app/hdp_app/anaconda/bin

Any ideas?

Thanks,

Ian

---------------------------------------------------------------------
To unsubscribe e-mail: user-unsubscribe@spark.apache.org


Mime
View raw message