-
Notifications
You must be signed in to change notification settings - Fork 29k
[DO-NOT-MERGE] Run tests against hadoop-3.1 to see the test failures #21441
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
a4c40a8
Run tests against hadoop-3.1 to see the test failures
HyukjinKwon 296dbac
Bump jackson from 2.6.7.1 to 2.8.11
HyukjinKwon 42f2d8e
Fix a bug in RDDOperationScope (NON_NULL -> NON_ABSENT for None)
HyukjinKwon 6d785d3
Add a hack for HadoopShims to avoid Hadoop version check
HyukjinKwon 8f7ba66
Exclude the old javax.ws.rs in Maven and SBT, and clean up the hack
HyukjinKwon bea18ce
Revert "Exclude the old javax.ws.rs in Maven and SBT, and clean up th…
HyukjinKwon 4b8a094
Revert Jackson upgrade and manually resolve it in SBT, and clean up H…
HyukjinKwon e42add5
Style always bugs me .. :(
HyukjinKwon df428e0
Add hive hacks
HyukjinKwon 2b0e0a7
no need to try-catch
HyukjinKwon a9d508a
Revert "Add hive hacks"
HyukjinKwon 27028cc
Revert "no need to try-catch"
HyukjinKwon 44ab765
Revert the hack
HyukjinKwon 3d05e29
Revert "Add a hack for HadoopShims to avoid Hadoop version check"
HyukjinKwon 90753a5
Use com.github.hyukjinkwon.hive for Spark's Hive fork having Hadoop 3…
HyukjinKwon 558e767
Clean up
HyukjinKwon 13918d9
Includes configuration2 as a min fix for Hadoop 3+ for now
HyukjinKwon 8be8b7f
Conditional skip for Hadoop and Hive versions
HyukjinKwon d05c5d0
Add conditional skips for few more tests too
HyukjinKwon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -317,7 +317,7 @@ object SparkBuild extends PomBuild { | |
| // Note ordering of these settings matter. | ||
| /* Enable shared settings on all projects */ | ||
| (allProjects ++ optionallyEnabledProjects ++ assemblyProjects ++ copyJarsProjects ++ Seq(spark, tools)) | ||
| .foreach(enable(sharedSettings ++ DependencyOverrides.settings ++ | ||
| .foreach(enable(sharedSettings ++ DependencyOverrides.settings ++ ExcludeDependencies.settings ++ | ||
| ExcludedDependencies.settings ++ Checkstyle.settings)) | ||
|
|
||
| /* Enable tests settings for all projects except examples, assembly and tools */ | ||
|
|
@@ -464,7 +464,20 @@ object DockerIntegrationTests { | |
| */ | ||
| object DependencyOverrides { | ||
| lazy val settings = Seq( | ||
| dependencyOverrides += "com.google.guava" % "guava" % "14.0.1") | ||
| dependencyOverrides += "com.google.guava" % "guava" % "14.0.1", | ||
| dependencyOverrides += "com.fasterxml.jackson.core" % "jackson-annotations" % "2.6.7", | ||
| dependencyOverrides += "com.fasterxml.jackson.core" % "jackson-core" % "2.6.7", | ||
| dependencyOverrides += "com.fasterxml.jackson.core" % "jackson-module-jaxb-annotations" % "2.6.7", | ||
| dependencyOverrides += "com.fasterxml.jackson.core" % "jackson-databind" % "2.6.7") | ||
| } | ||
|
|
||
| /** | ||
| * Exclusions to work around sbt's dependency resolution being different from Maven's. | ||
| */ | ||
| object ExcludeDependencies { | ||
| lazy val settings = Seq( | ||
| excludeDependencies += "com.fasterxml.jackson.jaxrs" % "jackson-jaxrs-json-provider", | ||
| excludeDependencies += "javax.ws.rs" % "jsr311-api") | ||
|
||
| } | ||
|
|
||
| /** | ||
|
|
||
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I redistributed Spark's Hive fork that contains single line fix for Hadoop 3 support for dev and testing purpose.