You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Olivier Delalleau (JIRA)" <ji...@apache.org> on 2015/07/10 17:30:04 UTC

[jira] [Commented] (SPARK-8976) Python 3 crash: ValueError: invalid mode 'a+' (only r, w, b allowed)

    [ https://issues.apache.org/jira/browse/SPARK-8976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14622466#comment-14622466 ] 

Olivier Delalleau commented on SPARK-8976:
------------------------------------------

NB: I fixed the issue replacing l. 149 of worker.py with:
    sock_file = sock.makefile("rwb", 65536)
but I'm not sure it's a good fix (and I don't know if it's compabile with Python 2)

> Python 3 crash: ValueError: invalid mode 'a+' (only r, w, b allowed)
> --------------------------------------------------------------------
>
>                 Key: SPARK-8976
>                 URL: https://issues.apache.org/jira/browse/SPARK-8976
>             Project: Spark
>          Issue Type: Bug
>          Components: PySpark
>    Affects Versions: 1.4.0
>         Environment: Windows 7
>            Reporter: Olivier Delalleau
>
> See Github report: https://github.com/apache/spark/pull/5173#issuecomment-113410652



--
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