From dev-return-2434-archive-asf-public=cust-asf.ponee.io@datafu.apache.org Thu Mar 26 19:05:03 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 DE23B18065D for ; Thu, 26 Mar 2020 20:05:02 +0100 (CET) Received: (qmail 56338 invoked by uid 500); 26 Mar 2020 19:05:02 -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 56308 invoked by uid 99); 26 Mar 2020 19:05:02 -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; Thu, 26 Mar 2020 19:05:02 +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 7F466E2F8D for ; Thu, 26 Mar 2020 19:05:01 +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 43E697805AF for ; Thu, 26 Mar 2020 19:05:00 +0000 (UTC) Date: Thu, 26 Mar 2020 19:05:00 +0000 (UTC) From: "Matthew Hayes (Jira)" To: dev@datafu.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (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 Matthew Hayes created DATAFU-153: ------------------------------------ Summary: 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 When local Python version is 3.x, there is an error thrown from=C2=A0SparkP= ythonRunner due to=C2=A0execfile not being in Python 3.=C2=A0 The tests wor= k 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(SparkPython= Runner.scala:134) =09at org.apache.spark.datafu.deploy.SparkPythonRunner.runPyFile(SparkPytho= nRunner.scala:49) {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)