Skip to content

MINOR: clean up unused checkstyle suppressions for Streams#8861

Merged
mjsax merged 4 commits intoapache:trunkfrom
ableegoldman:MINOR-clean-up-checkstyle-suppressions
Jun 18, 2020
Merged

MINOR: clean up unused checkstyle suppressions for Streams#8861
mjsax merged 4 commits intoapache:trunkfrom
ableegoldman:MINOR-clean-up-checkstyle-suppressions

Conversation

@ableegoldman
Copy link
Copy Markdown
Member

Turns out there are a number of checkstyle suppressions that aren't being actively used. Did a quick scan by removing everything and running checkstyle, then left in only those that produced an error.

Should be able to further remove some TaskManager suppressions once pull/8856 is merged

@ableegoldman
Copy link
Copy Markdown
Member Author

Non-urgent, but some nice cleanup after I noticed how many suppressions aren't necessary anymore @vvcephei @mjsax @guozhangwang

@ableegoldman ableegoldman force-pushed the MINOR-clean-up-checkstyle-suppressions branch from 25db463 to fd0e3a2 Compare June 12, 2020 23:25
@mjsax mjsax added the streams label Jun 13, 2020
@mjsax
Copy link
Copy Markdown
Member

mjsax commented Jun 13, 2020

As trunk is broken atm, it does not make sense to trigger test right now. Will do later.

@mjsax
Copy link
Copy Markdown
Member

mjsax commented Jun 16, 2020

Retest this please.

@ableegoldman ableegoldman force-pushed the MINOR-clean-up-checkstyle-suppressions branch from fd0e3a2 to e7fc4f2 Compare June 17, 2020 01:29
@ableegoldman
Copy link
Copy Markdown
Member Author

Rebased on trunk and removed the TaskManager MethodLength suppression as well (yay 🥳 ), can you kick off tests again @mjsax ?

@vvcephei
Copy link
Copy Markdown
Contributor

Test this please

@vvcephei
Copy link
Copy Markdown
Contributor

Retest this please

@vvcephei
Copy link
Copy Markdown
Contributor

Ok to test

@vvcephei
Copy link
Copy Markdown
Contributor

Retest this please

1 similar comment
@vvcephei
Copy link
Copy Markdown
Contributor

Retest this please

@mjsax
Copy link
Copy Markdown
Member

mjsax commented Jun 17, 2020

Java 11:

org.apache.kafka.connect.mirror.MirrorConnectorsIntegrationTest.testReplication
kafka.admin.ReassignPartitionsUnitTest.testModifyBrokerThrottles
kafka.admin.ReassignPartitionsUnitTest.testModifyBrokerThrottles

Java 14:

kafka.admin.ReassignPartitionsUnitTest.testModifyBrokerThrottles

Java 8:

org.apache.kafka.connect.mirror.MirrorConnectorsIntegrationTest.testReplication
kafka.admin.ReassignPartitionsUnitTest.testModifyBrokerThrottles
kafka.admin.ReassignPartitionsUnitTest.testModifyBrokerThrottles

@ableegoldman
Copy link
Copy Markdown
Member Author

@mjsax @vvcephei can we merge this? Checkstyle passed on all builds

@mjsax mjsax merged commit 42aa0f3 into apache:trunk Jun 18, 2020
Kvicii pushed a commit to Kvicii/kafka that referenced this pull request Jun 21, 2020
* 'trunk' of github.com:apache/kafka:
  KAFKA-10168: fix StreamsConfig parameter name variable (apache#8865)
  MINOR: code cleanup for inconsistent naming (apache#8871)
  KAFKA-10138: Prefer --bootstrap-server for reassign_partitions command in ducktape tests (apache#8898)
  KAFKA-10185: Restoration info logging (apache#8896)
  KAFKA-9891: add integration tests for EOS and StandbyTask (apache#8890)
  MINOR: Reduce build time by gating test coverage plugins behind a flag (apache#8899)
  KAFKA-10141; Add more detail to log segment delete messages (apache#8850)
  KAFKA-10113; Specify fetch offsets correctly in `LogTruncationException` (apache#8822)
  KAFKA-10167: use the admin client to read end-offset (apache#8876)
  MINOR: Upgrade ducktape to 0.7.8 (apache#8879)
  KAFKA-10123; Fix incorrect value for AWAIT_RESET#hasPosition (apache#8841)
  KAFKA-9896: fix flaky StandbyTaskEOSIntegrationTest (apache#8883)
  MINOR: clean up unused checkstyle suppressions for Streams (apache#8861)
  MINOR: reuse toConfigObject(Map) to generate Config (apache#8889)
  MINOR: Upgrade jetty to 9.4.27.v20200227 and jersey to 2.31 (apache#8859)
  MINOR: Fix flaky HighAvailabilityTaskAssignorIntegrationTest (apache#8884)
  KAFKA-10147 MockAdminClient#describeConfigs(Collection<ConfigResource>) is unable to handle broker resource (apache#8853)
  KAFKA-10165: Remove Percentiles from e2e metrics (apache#8882)

# Conflicts:
#	core/src/main/scala/kafka/log/Log.scala
@ableegoldman ableegoldman deleted the MINOR-clean-up-checkstyle-suppressions branch June 26, 2020 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants