Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-3866 Clean up python/run-tests problems
  3. SPARK-3867

./python/run-tests failed when it run with Python 2.6 and unittest2 is not installed

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.0
    • 1.2.0
    • PySpark
    • Mac OS X 10.9.5, Python 2.6.8, Java 1.8.0_20

    Description

      ./python/run-tests search a Python 2.6 executable on PATH and use it if available.
      When using Python 2.6, it is going to import unittest2 module which is not a standard library in Python 2.6, so it fails with ImportError.

      commit: 1d72a30874a88bdbab75217f001cf2af409016e7

      Attachments

        Activity

          People

            cocoatomo Tomohiko K.
            cocoatomo Tomohiko K.
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: