diff options
author | Shixiong Zhu <shixiong@databricks.com> | 2016-01-12 14:27:05 -0800 |
---|---|---|
committer | Shixiong Zhu <shixiong@databricks.com> | 2016-01-12 14:27:05 -0800 |
commit | 4f60651cbec1b4c9cc2e6d832ace77e89a233f3a (patch) | |
tree | 44fd285926f1db63488710d610bc9be38fd274b0 /streaming/src | |
parent | 8ed5f12d2bb408bd37e4156b5f1bad9a6b8c3cb5 (diff) | |
download | spark-4f60651cbec1b4c9cc2e6d832ace77e89a233f3a.tar.gz spark-4f60651cbec1b4c9cc2e6d832ace77e89a233f3a.tar.bz2 spark-4f60651cbec1b4c9cc2e6d832ace77e89a233f3a.zip |
[SPARK-12652][PYSPARK] Upgrade Py4J to 0.9.1
- [x] Upgrade Py4J to 0.9.1
- [x] SPARK-12657: Revert SPARK-12617
- [x] SPARK-12658: Revert SPARK-12511
- Still keep the change that only reading checkpoint once. This is a manual change and worth to take a look carefully. https://github.com/zsxwing/spark/commit/bfd4b5c040eb29394c3132af3c670b1a7272457c
- [x] Verify no leak any more after reverting our workarounds
Author: Shixiong Zhu <shixiong@databricks.com>
Closes #10692 from zsxwing/py4j-0.9.1.
Diffstat (limited to 'streaming/src')
-rw-r--r-- | streaming/src/main/scala/org/apache/spark/streaming/api/python/PythonDStream.scala | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/streaming/src/main/scala/org/apache/spark/streaming/api/python/PythonDStream.scala b/streaming/src/main/scala/org/apache/spark/streaming/api/python/PythonDStream.scala index 953fe95177..8c9beccc29 100644 --- a/streaming/src/main/scala/org/apache/spark/streaming/api/python/PythonDStream.scala +++ b/streaming/src/main/scala/org/apache/spark/streaming/api/python/PythonDStream.scala @@ -170,16 +170,6 @@ private[python] object PythonDStream { } /** - * Update the port of callback client to `port` - */ - def updatePythonGatewayPort(gws: GatewayServer, port: Int): Unit = { - val cl = gws.getCallbackClient - val f = cl.getClass.getDeclaredField("port") - f.setAccessible(true) - f.setInt(cl, port) - } - - /** * helper function for DStream.foreachRDD(), * cannot be `foreachRDD`, it will confusing py4j */ |