You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/11/02 04:16:58 UTC
[jira] [Commented] (SPARK-18133) Python ML Pipeline Example has
syntax errors
[ https://issues.apache.org/jira/browse/SPARK-18133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15627633#comment-15627633 ]
Apache Spark commented on SPARK-18133:
--------------------------------------
User 'jagadeesanas2' has created a pull request for this issue:
https://github.com/apache/spark/pull/15728
> Python ML Pipeline Example has syntax errors
> --------------------------------------------
>
> Key: SPARK-18133
> URL: https://issues.apache.org/jira/browse/SPARK-18133
> Project: Spark
> Issue Type: Bug
> Components: Examples, ML
> Affects Versions: 2.0.1
> Environment: OS X
> Reporter: Nirmal Fernando
> Assignee: Jagadeesan A S
> Priority: Minor
> Labels: easyfix
> Fix For: 2.1.0
>
>
> $ ./bin/spark-submit examples/src/main/python/ml/pipeline_example.py
> File "/spark-2.0.0-bin-hadoop2.7/examples/src/main/python/ml/pipeline_example.py", line 38
> (0L, "a b c d e spark", 1.0),
> ^
> SyntaxError: invalid syntax
> Removing 'L' from all occurrences resolves the issue.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org