Github user galv commented on a diff in the pull request:
https://github.com/apache/spark/pull/21494#discussion_r193290266
--- Diff: python/pyspark/worker.py ---
@@ -232,6 +236,13 @@ def main(infile, outfile):
shuffle.DiskBytesSpilled = 0
_accumulatorRegistry.clear()
+ if (isBarrier):
+ port = 25333 + 2 + 2 * taskContext._partitionId
+ paras = GatewayParameters(port=port)
--- End diff --
paras -> params
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]