GitHub user zeodtr opened a pull request: https://github.com/apache/spark/pull/899
fixes https://issues.apache.org/jira/browse/SPARK-1825 This is my attempt to fix https://issues.apache.org/jira/browse/SPARK-1825. Tested on Windows 7 and Hortonworks HDP 2.1 Sandbox, and it works. Tow more problems reported in SPARK-18259(SPARK_HOME, %HADOOP_MAPRED_HOME%) were gone, perhaps by other commits that took after rc5. But this fix is Hadoop 2.4.0+ only, since it uses new APIs introduced by https://issues.apache.org/jira/browse/YARN-1824. So, version checking may be needed, but my knowledge for the Spark source code is limited, so I don't know how to do it. You can merge this pull request into a Git repository by running: $ git pull https://github.com/zeodtr/spark jira1825 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/899.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 #899 ---- commit b768fc652e74e402c480b35efacb36c71c7e2f7c Author: zeodtr <zeo...@naver.com> Date: 2014-05-28T04:30:04Z fixes https://issues.apache.org/jira/browse/SPARK-1825 ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---