Github user sarutak commented on a diff in the pull request:
https://github.com/apache/spark/pull/2520#discussion_r18824858
--- Diff: project/SparkBuild.scala ---
@@ -170,6 +178,24 @@ object SparkBuild extends PomBuild {
}
+object YARNCommon {
+ lazy val settings = Seq(
+ scalaSource in Compile := baseDirectory.value / "common/src/main/scala"
+ )
+}
+
+object YARNAlpha {
+ lazy val settings = Seq(
+ unmanagedSourceDirectories in Compile += baseDirectory.value /
"alpha/src/main/scala"
--- End diff --
So sorry, I was confused. Without YARNAlpha and YARNStable, "sbt/sbt -Pyarn
-Phadoop-2.2 compile (or package)" fails, not assembly.
But, "sbt/sbt -Pyarn -hadoop-2.2" works with no problem.
Thanks for taking a look at!
---
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]