Skip to content

Commit

Permalink
Python fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
rxin committed Jul 22, 2015
1 parent 1d9739a commit 84bd10e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/pyspark/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -913,8 +913,7 @@ def runJob(self, rdd, partitionFunc, partitions=None, allowLocal=False):
# by runJob() in order to avoid having to pass a Python lambda into
# SparkContext#runJob.
mappedRDD = rdd.mapPartitions(partitionFunc)
port = self._jvm.PythonRDD.runJob(self._jsc.sc(), mappedRDD._jrdd, partitions,
allowLocal)
port = self._jvm.PythonRDD.runJob(self._jsc.sc(), mappedRDD._jrdd, partitions)
return list(_load_from_socket(port, mappedRDD._jrdd_deserializer))

def show_profiles(self):
Expand Down

0 comments on commit 84bd10e

Please sign in to comment.