[ https://issues.apache.org/jira/browse/SPARK-1954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14014425#comment-14014425 ]
Colin Patrick McCabe commented on SPARK-1954: --------------------------------------------- I've run into this too. Is there a way to get the {{yarn}} profile to set a default for {{hadoop.version}}? Since the yarn profile (unless the yarn-alpha profile) requires hadoop 2.2+ to build, it seems like this is the behavior everyone would want. > 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)