SPARK-1064. Make it possible to run on YARN without bundling Hadoop jars in Spark assembly
Handle different application classpath variables in different versions