GitHub user xgong opened a pull request:
https://github.com/apache/spark/pull/396
SPARK-1465: Spark compilation is broken with the latest hadoop-2.4.0 release
YARN-1824 changes the APIs (addToEnvironment, setEnvFromInputString) in
Apps, which causes the spark build to break if built against a version 2.4.0.
To fix this, create the spark own function to do that functionality which will
not break compiling against 2.3 and other 2.x versions.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/xgong/spark master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/396.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 #396
----
commit be89fa769fc76d6b6d8764bb31be0c46c0b52584
Author: xuan <[email protected]>
Date: 2014-04-11T21:56:24Z
fix Spark compilation is broken with the latest hadoop-2.4.0 release
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---