From dev-return-2439-archive-asf-public=cust-asf.ponee.io@datafu.apache.org Fri Mar 27 08:45:02 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id F3CC3180647 for ; Fri, 27 Mar 2020 09:45:01 +0100 (CET) Received: (qmail 20701 invoked by uid 500); 27 Mar 2020 08:45:01 -0000 Mailing-List: contact dev-help@datafu.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@datafu.apache.org Delivered-To: mailing list dev@datafu.apache.org Received: (qmail 20621 invoked by uid 99); 27 Mar 2020 08:45:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Mar 2020 08:45:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id A433DE2CAC for ; Fri, 27 Mar 2020 08:45:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 23E1E780269 for ; Fri, 27 Mar 2020 08:45:00 +0000 (UTC) Date: Fri, 27 Mar 2020 08:45:00 +0000 (UTC) From: "Ohad Raviv (Jira)" To: dev@datafu.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DATAFU-153) datafu-spark tests fail with Python 3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DATAFU-153?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1706= 8425#comment-17068425 ]=20 Ohad Raviv commented on DATAFU-153: ----------------------------------- Hi Matthew, i think python 3 is important enough for us to support it from = the first release. I've created the fix. > datafu-spark tests fail with Python 3 > ------------------------------------- > > Key: DATAFU-153 > URL: https://issues.apache.org/jira/browse/DATAFU-153 > Project: DataFu > Issue Type: Bug > Reporter: Matthew Hayes > Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > When local Python version is 3.x, there is an error thrown from=C2=A0Spar= kPythonRunner due to=C2=A0execfile not being in Python 3.=C2=A0 The tests w= ork for Python 2.7. > {code:java} > java.lang.RuntimeException: python bridge error:=20 > Python 3.6.0 (default, Jun 6 2018, 13:47:36)=20 > [GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.2)] on darwin > Type "help", "copyright", "credits" or "license" for more information. > >>> >>> ... ... ... ... ... ... Traceback (most recent call last): > File "", line 2, in > NameError: name 'execfile' is not defined > =09at org.apache.spark.datafu.deploy.SparkPythonRunner.execFile(SparkPyth= onRunner.scala:134) > =09at org.apache.spark.datafu.deploy.SparkPythonRunner.runPyFile(SparkPyt= honRunner.scala:49) {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)