Sadly, this is not enough! Even if people run on Java 7, pyspark on YARN will fail if the assembly is compiled with Java 7.