Github user Shiti commented on the pull request:
https://github.com/apache/spark/pull/2520#issuecomment-59886741
The reason for this issue is that the Maven build definition and plugin
configuration of yarn-alpha and yarn-stable is the same as that for yarn
common. So, the `SettingKey scalaSource` is set to that of the parent for the
child projects and since `scalaSource` is a `SettingKey[File]`, we cannot add
multiple Scala sources for the same project. The scalaStyle plugin depends on
this `SettingKey` to determine Scala files. Modifying the settings for yarn
specific projects in the Scala Build file when required is a better approach to
fix this 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]