Uh oh!
There was an error while loading. Please reload this page.
[SPARK-8781] Fix variables in published pom.xml are not resolved - #7193
Closed
andrewor14 wants to merge 2 commits into
Closed
[SPARK-8781] Fix variables in published pom.xml are not resolved#7193andrewor14 wants to merge 2 commits into
andrewor14 wants to merge 2 commits into
Conversation
This reverts commit 984ad60.
AmplabJenkins
commented
Jul 2, 2015
Merged build triggered. |
AmplabJenkins
commented
Jul 2, 2015
Merged build started. |
SparkQA
commented
Jul 2, 2015
Test build #36417 has started for PR 7193 at commit |
vanzin
commented
Jul 2, 2015
Contributor
LGTM. |
KinesisReceiverSuite really doesn't need to depend on TestSuiteBase. The issue is that TestSuiteBase transitively depends on Spark core tests (SparkFunSuite), but there is no simple way in maven to express transitive test dependencies. To simplify the build structure of this module, we should just have KinesisReceiverSuite extend directly from FunSuite.
AmplabJenkins
commented
Jul 2, 2015
Merged build triggered. |
AmplabJenkins
commented
Jul 2, 2015
Merged build started. |
AmplabJenkins
commented
Jul 2, 2015
Merged build finished. Test FAILed. |
andrewor14
commented
Jul 2, 2015
ContributorAuthor
retest this please |
AmplabJenkins
commented
Jul 2, 2015
Merged build triggered. |
AmplabJenkins
commented
Jul 2, 2015
Merged build started. |
SparkQA
commented
Jul 2, 2015
Test build #36425 has started for PR 7193 at commit |
SparkQA
commented
Jul 2, 2015
Test build #36417 has finished for PR 7193 at commit
|
AmplabJenkins
commented
Jul 2, 2015
Merged build finished. Test PASSed. |
tdas
commented
Jul 2, 2015
Contributor
LGTM. |
andrewor14
commented
Jul 2, 2015
ContributorAuthor
Merging into master, 1.4, and 1.3. Thanks for the reviews. |
asfgit pushed a commit
that referenced
this pull request
Jul 2, 2015
The issue is summarized in the JIRA and is caused by this commit: 984ad60. This patch reverts that commit and fixes the maven build in a different way. We limit the dependencies of `KinesisReceiverSuite` to avoid having to deal with the complexities in how maven deals with transitive test dependencies. Author: Andrew Or <andrew@databricks.com> Closes#7193 from andrewor14/fix-kinesis-pom and squashes the following commits: ca3d5d4 [Andrew Or] Limit kinesis test dependencies f24e09c [Andrew Or] Revert "[BUILD] Fix Maven build for Kinesis" (cherry picked from commit 82cf331) Signed-off-by: Andrew Or <andrew@databricks.com>
asfgit pushed a commit
that referenced
this pull request
Jul 2, 2015
The issue is summarized in the JIRA and is caused by this commit: 984ad60. This patch reverts that commit and fixes the maven build in a different way. We limit the dependencies of `KinesisReceiverSuite` to avoid having to deal with the complexities in how maven deals with transitive test dependencies. Author: Andrew Or <andrew@databricks.com> Closes#7193 from andrewor14/fix-kinesis-pom and squashes the following commits: ca3d5d4 [Andrew Or] Limit kinesis test dependencies f24e09c [Andrew Or] Revert "[BUILD] Fix Maven build for Kinesis" (cherry picked from commit 82cf331) Signed-off-by: Andrew Or <andrew@databricks.com> Conflicts: extras/kinesis-asl/src/test/scala/org/apache/spark/streaming/kinesis/KinesisReceiverSuite.scala
SparkQA
commented
Jul 2, 2015
Test build #36425 has finished for PR 7193 at commit
|
AmplabJenkins
commented
Jul 2, 2015
Merged build finished. Test PASSed. |
asfgit pushed a commit
that referenced
this pull request
Jul 7, 2015
This is a workaround for MSHADE-148, which leads to an infinite loop when building Spark with maven 3.3.x. This was originally caused by #6441, which added a bunch of test dependencies on the spark-core test module. Recently, it was revealed by #7193. This patch adds a `-Prelease` profile. If present, it will set `createDependencyReducedPom` to true. The consequences are: - If you are releasing Spark with this profile, you are fine as long as you use maven 3.2.x or before. - If you are releasing Spark without this profile, you will run into SPARK-8781. - If you are not releasing Spark but you are using this profile, you may run into SPARK-8819. - If you are not releasing Spark and you did not include this profile, you are fine. This is all documented in `pom.xml` and tested locally with both versions of maven. Author: Andrew Or <andrew@databricks.com> Closes#7219 from andrewor14/fix-maven-build and squashes the following commits: 1d37e87 [Andrew Or] Merge branch 'master' of github.com:apache/spark into fix-maven-build 3574ae4 [Andrew Or] Review comments f39199c [Andrew Or] Create a -Prelease profile that flags `createDependencyReducedPom` (cherry picked from commit 9eae5fa) Signed-off-by: Andrew Or <andrew@databricks.com>
asfgit pushed a commit
that referenced
this pull request
Jul 7, 2015
This is a workaround for MSHADE-148, which leads to an infinite loop when building Spark with maven 3.3.x. This was originally caused by #6441, which added a bunch of test dependencies on the spark-core test module. Recently, it was revealed by #7193. This patch adds a `-Prelease` profile. If present, it will set `createDependencyReducedPom` to true. The consequences are: - If you are releasing Spark with this profile, you are fine as long as you use maven 3.2.x or before. - If you are releasing Spark without this profile, you will run into SPARK-8781. - If you are not releasing Spark but you are using this profile, you may run into SPARK-8819. - If you are not releasing Spark and you did not include this profile, you are fine. This is all documented in `pom.xml` and tested locally with both versions of maven. Author: Andrew Or <andrew@databricks.com> Closes#7219 from andrewor14/fix-maven-build and squashes the following commits: 1d37e87 [Andrew Or] Merge branch 'master' of github.com:apache/spark into fix-maven-build 3574ae4 [Andrew Or] Review comments f39199c [Andrew Or] Create a -Prelease profile that flags `createDependencyReducedPom`
asfgit pushed a commit
that referenced
this pull request
Jul 7, 2015
This is a workaround for MSHADE-148, which leads to an infinite loop when building Spark with maven 3.3.x. This was originally caused by #6441, which added a bunch of test dependencies on the spark-core test module. Recently, it was revealed by #7193. This patch adds a `-Prelease` profile. If present, it will set `createDependencyReducedPom` to true. The consequences are: - If you are releasing Spark with this profile, you are fine as long as you use maven 3.2.x or before. - If you are releasing Spark without this profile, you will run into SPARK-8781. - If you are not releasing Spark but you are using this profile, you may run into SPARK-8819. - If you are not releasing Spark and you did not include this profile, you are fine. This is all documented in `pom.xml` and tested locally with both versions of maven. Author: Andrew Or <andrew@databricks.com> Closes#7219 from andrewor14/fix-maven-build and squashes the following commits: 1d37e87 [Andrew Or] Merge branch 'master' of github.com:apache/spark into fix-maven-build 3574ae4 [Andrew Or] Review comments f39199c [Andrew Or] Create a -Prelease profile that flags `createDependencyReducedPom` Conflicts: dev/create-release/create-release.sh pom.xml
andrewor14
commented
Jul 7, 2015
ContributorAuthor
Alright, I reverted this patch in master, 1.4 and 1.3 because #7219 proposes a nicer fix. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The issue is summarized in the JIRA and is caused by this commit: 984ad60.
This patch reverts that commit and fixes the maven build in a different way. We limit the dependencies of
KinesisReceiverSuiteto avoid having to deal with the complexities in how maven deals with transitive test dependencies.