Github user wingchen commented on the pull request:

    https://github.com/apache/spark/pull/4146#issuecomment-71111633
  
    Found a good way to reproduce it:
    
    ```
    from pyspark.rdd import RDD
    
    dl = [
        (u'2', {u'director': u'David Lean'}), 
        (u'7', {u'director': u'Andrew Dominik'})
    ]
    
    dl_rdd = sc.parallelize(dl)
    tmp = dl_rdd._to_java_object_rdd()
    tmp2 = sc._jvm.SerDe.javaToPython(tmp)
    t = RDD(tmp2, sc)
    t.count()
    
    tmp = t._to_java_object_rdd()
    tmp2 = sc._jvm.SerDe.javaToPython(tmp)
    t = RDD(tmp2, sc)
    t.count() # it blows up here during the 2nd time of conversion
    ```
    
    I am going to make a test case from this example.


---
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