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

UnicodeDecodeError raised when running python tests on arm instance

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.4, 3.0.0
    • 2.4.5, 3.0.0
    • PySpark
    • None

    Description

      Run command 'python/run-tests --python-executables=python2.7,python3.6' on arm instance, thenĀ UnicodeDecodeError raised:

      ....

      Starting test(python2.7): pyspark.broadcast

      Got an exception while trying to store skipped test output:
      Traceback (most recent call last):
      File "./python/run-tests.py", line 137, in run_individual_python_test
      decoded_lines = map(lambda line: line.decode(), iter(per_test_output))
      File "./python/run-tests.py", line 137, in <lambda>
      decoded_lines = map(lambda line: line.decode(), iter(per_test_output))
      UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 51: ordinal not in range(128)

      Attachments

        Issue Links

          Activity

            People

              gurwls223 Hyukjin Kwon
              huangtianhua huangtianhua
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: