Skip to content

Commit

Permalink
Update rdd.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Davies Liu committed Apr 18, 2015
1 parent 3c373f3 commit ceb3779
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/pyspark/rdd.py
Original file line number Diff line number Diff line change
Expand Up @@ -2268,6 +2268,7 @@ def _prepare_for_python_RDD(sc, command, obj=None):
broadcast = sc.broadcast(pickled_command)
pickled_command = ser.dumps(broadcast)
# There is a bug in py4j.java_gateway.JavaClass with auto_convert
# https://github.com/bartdag/py4j/issues/161
# TODO: use auto_convert once py4j fix the bug
broadcast_vars = ListConverter().convert(
[x._jbroadcast for x in sc._pickled_broadcast_vars],
Expand Down

0 comments on commit ceb3779

Please sign in to comment.