spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "cen yuhai (JIRA)" <>
Subject [jira] [Created] (SPARK-21796) pyspark count failed in python3.5.2
Date Mon, 21 Aug 2017 08:56:00 GMT
cen yuhai created SPARK-21796:

             Summary: pyspark count failed in python3.5.2
                 Key: SPARK-21796
             Project: Spark
          Issue Type: Bug
          Components: PySpark
    Affects Versions: 2.1.1
         Environment: spark 2.1.1 Python 3.5.2 anaconda3 4.2.0
            Reporter: cen yuhai

user_data = sc.textFile("/data/external_table/ods/table/dt=2017-08-17/hour=01/*.txt")

Caused by: org.apache.spark.api.python.PythonException: Traceback (most recent call last):
  File "/home/master/platform/spark/python/pyspark/", line 98, in main
    command = pickleSer._read_with_length(infile)
  File "/home/master/platform/spark/python/pyspark/", line 164, in _read_with_length
    return self.loads(obj)
  File "/home/master/platform/spark/python/pyspark/", line 419, in loads
    return pickle.loads(obj, encoding=encoding)
EOFError: Ran out of input

        at org.apache.spark.api.python.PythonRunner$$anon$

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message