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

PySpark doesn't work on Python 2.6

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 1.1.0
    • 0.9.3, 1.0.3, 1.1.0
    • PySpark
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: