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

MINOR: reload4j build dependency fixes #12144

Merged
merged 2 commits into from
May 11, 2022
Merged

Conversation

ijuma
Copy link
Contributor

@ijuma ijuma commented May 10, 2022

  • Replace log4j with reload4j in copyDependantLibs. Since we have
    some projects that have an explicit reload4j dependency, it
    was included in the final release release tar - i.e. it was effectively
    a workaround for this bug.
  • Exclude log4j and slf4j-log4j12 transitive dependencies for
    streams:upgrade-system-tests. Versions 0100 and 0101
    had a transitive dependency to log4j and slf4j-log4j12 via
    zkclient and zookeeper. This avoids classpath conflicts that lead
    to NoSuchFieldError in
    system tests.

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

ijuma added 2 commits May 10, 2022 07:20
…upgrade-system-tests`

Versions 0100 and 0101 had a transitive dependency to log4j and
slf4j-log4j12 via zkclient and zookeeper.
@ijuma ijuma changed the title MINOR: reload4j dependency fixes MINOR: reload4j build dependency fixes May 10, 2022
Copy link
Contributor

@hachikuji hachikuji left a comment

Choose a reason for hiding this comment

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

LGTM

@ijuma ijuma merged commit 2b14a0b into apache:trunk May 11, 2022
ijuma added a commit that referenced this pull request May 11, 2022
* Replace `log4j` with `reload4j` in `copyDependantLibs`. Since we have
  some projects that have an explicit `reload4j` dependency, it
  was included in the final release release tar - i.e. it was effectively
  a workaround for this bug.
* Exclude `log4j` and `slf4j-log4j12` transitive dependencies for
  `streams:upgrade-system-tests`. Versions 0100 and 0101
  had a transitive dependency to `log4j` and `slf4j-log4j12` via
  `zkclient` and `zookeeper`. This avoids classpath conflicts that lead
  to [NoSuchFieldError](qos-ch/reload4j#41) in
  system tests.

Reviewers: Jason Gustafson <jason@confluent.io>
ijuma added a commit that referenced this pull request May 11, 2022
* Replace `log4j` with `reload4j` in `copyDependantLibs`. Since we have
  some projects that have an explicit `reload4j` dependency, it
  was included in the final release release tar - i.e. it was effectively
  a workaround for this bug.
* Exclude `log4j` and `slf4j-log4j12` transitive dependencies for
  `streams:upgrade-system-tests`. Versions 0100 and 0101
  had a transitive dependency to `log4j` and `slf4j-log4j12` via
  `zkclient` and `zookeeper`. This avoids classpath conflicts that lead
  to [NoSuchFieldError](qos-ch/reload4j#41) in
  system tests.

Reviewers: Jason Gustafson <jason@confluent.io>
@ijuma
Copy link
Contributor Author

ijuma commented May 11, 2022

Merged to trunk and cherry-picked to 3.2 and 3.1 branches.

jeffkbkim added a commit to confluentinc/kafka that referenced this pull request May 12, 2022
…cs-11-may-2022

* apache-kafka/3.1: (51 commits)
  MINOR: reload4j build dependency fixes (apache#12144)
  KAFKA-13255: Use config.properties.exclude when mirroring topics (apache#11401)
  KAFKA-13794: Fix comparator of inflightBatchesBySequence in TransactionsManager (round 3) (apache#12096)
  KAFKA-13794: Follow up to fix producer batch comparator (apache#12006)
  fix: make sliding window works without grace period (#kafka-13739) (apache#11980)
  3.1.1 release notes (apache#12001)
  KAFKA-13794; Fix comparator of `inflightBatchesBySequence` in `TransactionManager` (apache#11991)
  KAFKA-13782; Ensure correct partition added to txn after abort on full batch (apache#11995)
  KAFKA-13748: Do not include file stream connectors in Connect's CLASSPATH and plugin.path by default (apache#11908)
  KAFKA-13775: CVE-2020-36518 - Upgrade jackson-databind to 2.12.6.1 (apache#11962)
  ...
jeffkbkim added a commit to confluentinc/kafka that referenced this pull request May 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants