[SPARK-4651] Adding -Phadoop-2.4+ to compile Spark with newer versions of Hadoop#3512
[SPARK-4651] Adding -Phadoop-2.4+ to compile Spark with newer versions of Hadoop#3512oza wants to merge 1 commit intoapache:masterfrom
Conversation
|
Can one of the admins verify this patch? |
|
This PR is messed up and needs to be rebased, at least, but see JIRA comments. |
|
@srowen Oh, my bad. I'm rebasing the patch. |
|
@srowen Updated. I ran Spark on YARN with Hadoop 2.5.2 by compiling this option. |
Signed-off-by: Tsuyoshi Ozawa <ozawa.tsuyoshi@gmail.com>
|
Hi there - this doesn't make sense because what if they release 2.6, 2.7, etc and it doesn't work with this profile? |
|
This has come up before, and I thought we resolved that the hadoop-2.4 profile would be used for all Hadoop versions above 2.5, until a Hadoop version changes dependencies in such a way that we must add a new profile. |
|
Yes, I think that is what our docs say. So then this new profile isn't necessary |
|
Then, can I update the version of Hadoop used in -Phadoop-2.4 to 2.5.2 instead of adding new profile? It's latest stable version. |
|
In the docs we offically recommend "mvn -Pyarn -Phadoop-2.4 -Dhadoop.version=VERSION -DskipTests clean package" for Hadoop 2.4.X and 2.5.X. I'd prefer this to modifying the name of this profile. It's just one more build flag. |
|
Make sense. Closing this ticket. Thanks for your comments, Patrick, Sandy, and Sean! |
|
No problem. |
No description provided.