You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Pierre Regazzoni (JIRA)" <ji...@apache.org> on 2016/09/23 18:34:21 UTC

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

    [ 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)