Github user srowen commented on the pull request:
https://github.com/apache/spark/pull/5786#issuecomment-98347073
I noticed a few more things that need to be updated. Kind of confusingly,
the Spark build conflates Hadoop 1.0 with Hadoop 2.0 and 2.1, so you'll need to
add `-Phadoop-1` to a few more places. All of these need it, I think:
create-release.sh
make_binary_release "cdh4" "-Phive -Phive-thriftserver
-Dhadoop.version=2.0.0-mr1-cdh4.2.0" "3032" &
building-spark.md
# Apache Hadoop 1.2.1
mvn -Dhadoop.version=1.2.1 -DskipTests clean package
# Cloudera CDH 4.2.0 with MapReduce v1
mvn -Dhadoop.version=2.0.0-mr1-cdh4.2.0 -DskipTests clean package
dev/run-tests
if [ "$AMPLAB_JENKINS_BUILD_PROFILE" = "hadoop1.0" ]; then
export SBT_MAVEN_PROFILES_ARGS="-Dhadoop.version=1.0.4"
elif [ "$AMPLAB_JENKINS_BUILD_PROFILE" = "hadoop2.0" ]; then
export SBT_MAVEN_PROFILES_ARGS="-Dhadoop.version=2.0.0-mr1-cdh4.1.1"
Soon I want to get rid of this unsupported CDH4 info/profile (and CDH*3*
docs! surely Spark hasn't worked with that in a long time). Separate issue.
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]