[SPARK-13848][SPARK-5185] Update to Py4J 0.9.2 in order to fix classloading issue
authorJosh Rosen <joshrosen@databricks.com>
Mon, 14 Mar 2016 19:22:02 +0000 (12:22 -0700)
committerJosh Rosen <joshrosen@databricks.com>
Mon, 14 Mar 2016 19:22:02 +0000 (12:22 -0700)
commit54040f372efee60b3283fbd15d030b5e8d3aba87
tree51d14f507fa664ea107bc63abcdb66301e2f4b2e
parenta8dc23aff14399c939e8ed6d8dfdf22973c1ef4e
[SPARK-13848][SPARK-5185] Update to Py4J 0.9.2 in order to fix classloading issue

This patch upgrades Py4J from 0.9.1 to 0.9.2 in order to include a patch which modifies Py4J to use the current thread's ContextClassLoader when performing reflection / class loading. This is necessary in order to fix [SPARK-5185](https://issues.apache.org/jira/browse/SPARK-5185), a longstanding issue affecting the use of `--jars` and `--packages` in PySpark.

In order to demonstrate that the fix works, I removed the workarounds which were added as part of [SPARK-6027](https://issues.apache.org/jira/browse/SPARK-6027) / #4779 and other patches.

Py4J diff: https://github.com/bartdag/py4j/compare/0.9.1...0.9.2

/cc zsxwing tdas davies brkyvz

Author: Josh Rosen <joshrosen@databricks.com>

Closes #11687 from JoshRosen/py4j-0.9.2.
streaming-mqtt/python/mqtt.py