GitHub user gzm55 opened a pull request: https://github.com/apache/spark/pull/151
fix compile error for hadoop CDH 4.4+ Fix the compilation error when set SPARK_HADOOP_VERSION to 2.0.0-cdh4.4.0, That is, the yarn-alpha project should work with hadoop CDH 4.4.0 and later. You can merge this pull request into a Git repository by running: $ git pull https://github.com/gzm55/spark work/yarn-beta-api Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/151.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 #151 ---- commit 02083d64b8fab01fb2b98d5894da5bf90e9f85f4 Author: James Z.M. Gao <gao...@mediav.com> Date: 2014-03-14T10:50:08Z fix compile error for hadoop CDH 4.4+ Using a macro, we work round the difference between hadoop 2.0-alpha and 2.1-beta api, and fix the compilation error when set SPARK_HADOOP_VERSION to 2.0.0-cdh4.4.0. That is, the yarn-alpha project should work with hadoop CDH 4.4+ and later. commit 5eefaa92a764b54ed3d452a8a9dcee930d80e163 Author: James Z.M. Gao <gao...@mediav.com> Date: 2014-03-06T07:28:18Z fix compile error of streaming project explicit return type for implicit function ---- --- 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. ---