Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-2948

PySpark doesn't work on Python 2.6

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 0.9.3, 1.0.3, 1.1.0
    • Component/s: PySpark
    • Labels:
      None
    • Environment:

      CentOS 6.5 / Python 2.6.6

      Description

      In serializser.py, collections.namedtuple is redefined as follows.

          def namedtuple(name, fields, verbose=False, rename=False):                                                                                                
              cls = _old_namedtuple(name, fields, verbose, rename)                                                                                                  
              return _hack_namedtuple(cls)                                                                                                                          
                                       
      

      The number of arguments is 4 but the number of arguments of namedtuple for Python 2.6 is 3 so mismatch is occurred.

        Attachments

          Activity

            People

            • Assignee:
              joshrosen Josh Rosen
              Reporter:
              sarutak Kousuke Saruta
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: