You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Andrew Or (JIRA)" <ji...@apache.org> on 2015/01/09 18:50:35 UTC

[jira] [Updated] (SPARK-2948) PySpark doesn't work on Python 2.6

     [ https://issues.apache.org/jira/browse/SPARK-2948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Or updated SPARK-2948:
-----------------------------
    Fix Version/s: 0.9.3

> PySpark doesn't work on Python 2.6
> ----------------------------------
>
>                 Key: SPARK-2948
>                 URL: https://issues.apache.org/jira/browse/SPARK-2948
>             Project: Spark
>          Issue Type: Bug
>          Components: PySpark
>    Affects Versions: 1.1.0
>         Environment: CentOS 6.5 / Python 2.6.6
>            Reporter: Kousuke Saruta
>            Assignee: Josh Rosen
>            Priority: Blocker
>             Fix For: 1.1.0, 0.9.3, 1.0.3
>
>
> In serializser.py, collections.namedtuple is redefined as follows.
> {code}
>     def namedtuple(name, fields, verbose=False, rename=False):                                                                                                
>         cls = _old_namedtuple(name, fields, verbose, rename)                                                                                                  
>         return _hack_namedtuple(cls)                                                                                                                          
>                                  
> {code}
> The number of arguments is 4 but the number of arguments of namedtuple for Python 2.6 is 3 so mismatch is occurred.



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