Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/5786#discussion_r29534960
--- Diff: yarn/pom.xml ---
@@ -109,6 +109,16 @@
<properties>
<jersey.version>1.9</jersey.version>
</properties>
+ <!-- Enable hadoop-2.2 profile when the Hadoop version is 2.2.0,
which is now
+ the default. Those building against 2.2.x or some distro-specific
variation of
+ that string would still have to manually enable -Phadoop-2.2.
+ -->
+ <activation>
+ <property>
+ <name>hadoop.version</name>
--- End diff --
That's what the comment addresses.
The issue here is that if you just run "mvn -Pyarn test", the YARN tests
will fail. So we want this profile to be activated to avoid that.
I guess one solution is to use `<activeByDefault>true</activeByDefault>`.
My peeve with that approach is that the name is incredibly misleading - the
above command line would fail the same way, because this property just
activates the profile if no other profile has been manually activated.
---
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]