def classloader(self):
        """Returns the private class loader that spark uses.

        This is needed since jars added with --jars are not easily resolvable by py4j's classloader
        """
        return self.jvm.org.apache.spark.util.Utils.getContextOrSparkClassLoader()
Returns the private class loader that spark uses.

        This is needed since jars added with --jars are not easily resolvable by py4j's classloader