[ https://issues.apache.org/jira/browse/SPARK-2746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reynold Xin updated SPARK-2746: ------------------------------- Description: dev/run-tests always sets SBT_MAVEN_PROFILES, which is not desired. As a matter of fact, Jenkins is failing for older Hadoop versions because the YARN profile is always on. {code} export SBT_MAVEN_PROFILES="-Pyarn -Phadoop-2.3 -Dhadoop.version=2.3.0" {code} was: dev/run-tests always sets SBT_MAVEN_PROFILES, which is desired. As a matter of fact, Jenkins is failing for older Hadoop versions because the YARN profile is always on. {code} export SBT_MAVEN_PROFILES="-Pyarn -Phadoop-2.3 -Dhadoop.version=2.3.0" {code} > Set SBT_MAVEN_PROFILES only when it is not set explicitly by the user > --------------------------------------------------------------------- > > Key: SPARK-2746 > URL: https://issues.apache.org/jira/browse/SPARK-2746 > Project: Spark > Issue Type: Bug > Components: Build > Reporter: Reynold Xin > Assignee: Reynold Xin > Priority: Critical > Fix For: 1.1.0 > > > dev/run-tests always sets SBT_MAVEN_PROFILES, which is not desired. As a > matter of fact, Jenkins is failing for older Hadoop versions because the YARN > profile is always on. > {code} > export SBT_MAVEN_PROFILES="-Pyarn -Phadoop-2.3 -Dhadoop.version=2.3.0" > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)