GitHub user MrBago opened a pull request: https://github.com/apache/spark/pull/19997
[SPARK-22811][pyspark][ml] Fix pyspark.ml.tests failure when Hive is not available. ## What changes were proposed in this pull request? pyspark.ml.tests is missing a py4j import. I've added the import and fixed the test that uses it. This test was only failing when testing without Hive. ## How was this patch tested? Existing tests. Please review http://spark.apache.org/contributing.html before opening a pull request. You can merge this pull request into a Git repository by running: $ git pull https://github.com/MrBago/spark fix-ImageReaderTest2 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/19997.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #19997 ---- commit 46410f164aa668a95d60c07a8f8d66938a6bd5cf Author: Bago Amirbekian <b...@databricks.com> Date: 2017-12-15T22:16:41Z Fix pyspark.ml.tests failure when Hive is not available. ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org