[ https://issues.apache.org/jira/browse/SYSTEMML-745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15312698#comment-15312698 ]
Glenn Weidner commented on SYSTEMML-745: ---------------------------------------- Test was done against Spark 1.6.1. If issue also occurs in Spark 2.0, then a Spark JIRA/PR may be required. > Spark context not initialized error under yarn-cluster for small data > --------------------------------------------------------------------- > > Key: SYSTEMML-745 > URL: https://issues.apache.org/jira/browse/SYSTEMML-745 > Project: SystemML > Issue Type: Bug > Components: Runtime > Reporter: Glenn Weidner > > Sample command to reproduce issue: > ./bin/spark-submit --master yarn-cluster --class > org.apache.sysml.api.DMLScript ../systemml/lib/systemml-0.10.0-incubating.jar > -s "print('Hello Apache SystemML') > Work-around is to add '-exec spark': > ./bin/spark-submit --master yarn-cluster --class > org.apache.sysml.api.DMLScript ../systemml/lib/systemml-0.10.0-incubating.jar > -s "print('Hello Apache SystemML') -exec spark -- This message was sent by Atlassian JIRA (v6.3.4#6332)