Reply
Explorer
Posts: 6
Registered: ‎01-23-2019

How to run .R files using spark-submit from CDSW terminal?

Hello Team,

 

Unable to run .R files from CDSW terminal .Getting error after running below code. Please let me know how to overcome from this.

 

!spark-submit -v --master yarn --deploy-mode client --num-executors 10 --executor-memory 4g --executor-cores 4 --driver- cores 4 --driver-memory 4g Sample.R

 

Thanks and Regards

Sankar Narayana

Announcements