Skip to content

Upgrade k8s java-client to fix dependency resolution#10260

Merged
sijie merged 1 commit intoapache:masterfrom
lhotari:lh-upgrade-k8s-client
Apr 20, 2021
Merged

Upgrade k8s java-client to fix dependency resolution#10260
sijie merged 1 commit intoapache:masterfrom
lhotari:lh-upgrade-k8s-client

Conversation

@lhotari
Copy link
Member

@lhotari lhotari commented Apr 19, 2021

Motivation

Modifications

  • upgrade io.kubernetes:java-client version from 10.0.0 to 12.0.0
  • add dependency management rules for com.google.errorprone:error_prone_annotations and com.google.j2objc:j2objc-annotations so that the dependency versions are consistent with the other dependencies.
  • adapt license files to the modifications
  • adapt usage of coreClient.listNamespacedPod since the api has changed (1 new parameter, passes as null)
  • remove workarounds that have been in place to address issues with sundr library dependency resolution issue
  • reformat pulsar-sql/presto-distribution/pom.xml

- sundr library has been upgraded to 0.22.1 version which contains a fix to an
  issue which causes issues with dependency resolution, sundrio/sundrio#168
  - various workarounds for sundr library dependency issues can be removed

- newer version of k8s java-client has less dependencies which addresses some other
  dependency issues
@lhotari
Copy link
Member Author

lhotari commented Apr 19, 2021

/pulsarbot run-failure-checks

@lhotari
Copy link
Member Author

lhotari commented Apr 19, 2021

@jerrypeng @david-streamlio Please review this change.

Copy link
Contributor

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

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

LGTM

we are updating the Kubernetes Java Client, this may affect Pulsar functions behaviour on k8s.

can you please test that they still work ?

@lhotari
Copy link
Member Author

lhotari commented Apr 19, 2021

/pulsarbot run-failure-checks

1 similar comment
@lhotari
Copy link
Member Author

lhotari commented Apr 19, 2021

/pulsarbot run-failure-checks

@codelipenghui codelipenghui added this to the 2.8.0 milestone Apr 19, 2021
@lhotari
Copy link
Member Author

lhotari commented Apr 19, 2021

@jerrypeng What would be the best way to verify this PR?

@sijie sijie merged commit 715e588 into apache:master Apr 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants