Github user tianyi commented on the pull request:

    https://github.com/apache/spark/pull/1760#issuecomment-52010613
  
    @marmbrus Could you ask someone help me to fix this error ?
    
    Failed example:
        srdd.collect()
    Exception raised:
        Traceback (most recent call last):
          File "/usr/lib64/python2.6/doctest.py", line 1253, in __run
            compileflags, 1) in test.globs
          File "<doctest pyspark.sql.SQLContext.inferSchema[6]>", line 1, in 
<module>
            srdd.collect()
          File 
"/home/jenkins/workspace/SparkPullRequestBuilder/python/pyspark/sql.py", line 
1613, in collect
            rows = RDD.collect(self)
          File 
"/home/jenkins/workspace/SparkPullRequestBuilder/python/pyspark/rdd.py", line 
724, in collect
            bytesInJava = self._jrdd.collect().iterator()
          File 
"/home/jenkins/workspace/SparkPullRequestBuilder/python/lib/py4j-0.8.2.1-src.zip/py4j/java_gateway.py",
 line 538, in __call__
            self.target_id, self.name)
          File 
"/home/jenkins/workspace/SparkPullRequestBuilder/python/lib/py4j-0.8.2.1-src.zip/py4j/protocol.py",
 line 300, in get_return_value
            format(target_id, '.', name), value)
    org.apache.spark.SparkException: Job aborted due to stage failure: Task 1 
in stage 35.0 failed 1 times, most recent failure: Lost task 1.0 in stage 35.0 
(TID 72, localhost): java.lang.ClassCastException: java.lang.String cannot be 
cast to java.util.ArrayList
                
net.razorvine.pickle.objects.ArrayConstructor.construct(ArrayConstructor.java:33)
                net.razorvine.pickle.Unpickler.load_reduce(Unpickler.java:617)
                net.razorvine.pickle.Unpickler.dispatch(Unpickler.java:170)
                net.razorvine.pickle.Unpickler.load(Unpickler.java:84)
                net.razorvine.pickle.Unpickler.loads(Unpickler.java:97)
    ......


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to