Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 85AA9200BC1 for ; Wed, 2 Nov 2016 05:24:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 841DF160B07; Wed, 2 Nov 2016 04:24:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id F34D9160B02 for ; Wed, 2 Nov 2016 05:23:59 +0100 (CET) Received: (qmail 14978 invoked by uid 500); 2 Nov 2016 04:23:58 -0000 Mailing-List: contact issues-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@spark.apache.org Received: (qmail 14951 invoked by uid 99); 2 Nov 2016 04:23:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2016 04:23:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B13D62C2A66 for ; Wed, 2 Nov 2016 04:23:58 +0000 (UTC) Date: Wed, 2 Nov 2016 04:23:58 +0000 (UTC) From: "Nirmal Fernando (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SPARK-18133) Python ML Pipeline Example has syntax errors MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 02 Nov 2016 04:24:00 -0000 [ https://issues.apache.org/jira/browse/SPARK-18133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15627648#comment-15627648 ] Nirmal Fernando commented on SPARK-18133: ----------------------------------------- Thanks All. > 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