spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Gingrich (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-19505) AttributeError on Exception.message in Python3; hides true exceptions in cloudpickle.py and broadcast.py
Date Wed, 08 Feb 2017 00:51:41 GMT
David Gingrich created SPARK-19505:
--------------------------------------

             Summary: AttributeError on Exception.message in Python3; hides true exceptions
in cloudpickle.py and broadcast.py
                 Key: SPARK-19505
                 URL: https://issues.apache.org/jira/browse/SPARK-19505
             Project: Spark
          Issue Type: Bug
          Components: PySpark
    Affects Versions: 2.1.0
         Environment: macOS Sierra 10.12.3
Spark 2.1.0, installed via Homebrew
            Reporter: David Gingrich
            Priority: Minor


cloudpickle.py and broadcast.py both catch Exceptions then look at the 'message' field.  The
message field doesn't exist in Python 3 so it rethrows and the original exception is lost.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message