Skip to content
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

Update dependency and plugin versions #1562

Merged
merged 4 commits into from
Mar 13, 2020
Merged

Conversation

ctubbsii
Copy link
Member

Fix warnings due to updated dependencies

  • Use new vfs2 method instead of deprecated one
  • Use assertThrows instead of ExpectedException
  • Remove hamcrest dependency, because it's not needed any more

Fix warnings due to updated dependencies
 * Use new vfs2 method instead of deprecated one
 * Use assertThrows instead of ExpectedException
 * Remove hamcrest dependency, because it's not needed any more
@ctubbsii ctubbsii self-assigned this Mar 13, 2020
Enforce dependency convergence to versions specified in the
dependencyManagement section when transitive dependencies from different
direct dependencies conflict.

Fix broken tests due to bad runtime class path for hadoop client jars by
excluding hadoop-hdfs-client from transitive dependencies via
commons-vfs2. The dependency is already included in the shaded
hadoop-client-runtime and we should not have the non-shaded version on
the class path.
Copy link
Contributor

@milleruntime milleruntime left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these are generally all needed updates but I worry about updating so many different dependencies in a single commit. While they are mostly minor updates, so many different updates in one commit will make debugging more difficult if this breaks something.

@ctubbsii
Copy link
Member Author

I think these are generally all needed updates but I worry about updating so many different dependencies in a single commit. While they are mostly minor updates, so many different updates in one commit will make debugging more difficult if this breaks something.

There's only one breakage in the full build with tests: AccumuloReloadingVFSClassLoaderTest.testReloadingWithLongerTimeout.

I'm currently working through what's going on with that one.

@ctubbsii ctubbsii merged commit 767d637 into apache:master Mar 13, 2020
@ctubbsii ctubbsii deleted the update-versions branch March 13, 2020 20:43
asfgit pushed a commit that referenced this pull request Dec 15, 2020
Update JUnit dependency, and use assertThrows instead of
ExpectedException Rule and hamcrest library, to avoid deprecation
warnings and an unnecessary test dependency.
@ctubbsii ctubbsii added this to the 2.1.0 milestone Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants