[ https://issues.apache.org/jira/browse/SPARK-1954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14014711#comment-14014711 ]
Patrick Wendell commented on SPARK-1954: ---------------------------------------- Yeah, why not just set `hadoop.version` and `yarn.version` to sensible defaults within the respective profiles. Seems like a good idea to me. > Make it easier to get Spark on YARN code to compile in IntelliJ > --------------------------------------------------------------- > > Key: SPARK-1954 > URL: https://issues.apache.org/jira/browse/SPARK-1954 > Project: Spark > Issue Type: Improvement > Components: Build > Affects Versions: 1.0.0 > Reporter: Sandy Ryza > > When loading a project through a Maven pom, IntelliJ allows switching on > profiles, but, to my knowledge, doesn't provide a way to set arbitrary > properties. > To get Spark-on-YARN code to compile in IntelliJ, I need to manually change > the hadoop.version in the root pom.xml to 2.2.0 or higher. This is very > cumbersome when switching branches. > It would be really helpful to add a profile that sets the Hadoop version that > IntelliJ can switch on. -- This message was sent by Atlassian JIRA (v6.2#6252)