From 07cb323e7a128b87ef265ddc66f033365d9de463 Mon Sep 17 00:00:00 2001 From: Josh Rosen Date: Mon, 14 Mar 2016 12:22:02 -0700 Subject: [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 Closes #11687 from JoshRosen/py4j-0.9.2. --- python/lib/py4j-0.9.1-src.zip | Bin 47035 -> 0 bytes python/lib/py4j-0.9.2-src.zip | Bin 0 -> 55521 bytes 2 files changed, 0 insertions(+), 0 deletions(-) delete mode 100644 python/lib/py4j-0.9.1-src.zip create mode 100644 python/lib/py4j-0.9.2-src.zip (limited to 'python/lib') diff --git a/python/lib/py4j-0.9.1-src.zip b/python/lib/py4j-0.9.1-src.zip deleted file mode 100644 index fedde845fd..0000000000 Binary files a/python/lib/py4j-0.9.1-src.zip and /dev/null differ diff --git a/python/lib/py4j-0.9.2-src.zip b/python/lib/py4j-0.9.2-src.zip new file mode 100644 index 0000000000..881bb759d7 Binary files /dev/null and b/python/lib/py4j-0.9.2-src.zip differ -- cgit v1.2.3