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

Apache Spark commented on SPARK-2948:
-------------------------------------

User 'sarutak' has created a pull request for this issue:
https://github.com/apache/spark/pull/1868

> 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.0.2
>         Environment: CentOS 6.5 / Python 2.6.6
>            Reporter: Kousuke Saruta
>            Priority: Blocker
>
> 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.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to