[ https://issues.apache.org/jira/browse/SYSTEMML-745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15517202#comment-15517202 ]
Pierre Regazzoni commented on SYSTEMML-745: ------------------------------------------- Also hit this issue with Spark 2.0 (tech preview with BigInsights 4.3) > 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)