You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Glenn Weidner (JIRA)" <ji...@apache.org> on 2016/06/02 17:12:59 UTC

[jira] [Created] (SYSTEMML-745) Spark context not initialized error under yarn-cluster for small data

Glenn Weidner created SYSTEMML-745:
--------------------------------------

             Summary: 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)