See
<https://builds.apache.org/job/kafka-2.2-jdk8/14/display/redirect?page=changes>
Changes:
[wangguoz] KAFKA-7916: Unify store wrapping code for clarity (#6255)
------------------------------------------
[...truncated 37.69 KB...]
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:795:
value maxNumOffsets in class PartitionData is deprecated: see corresponding
Javadoc for more information.
maxNumOffsets = partitionData.maxNumOffsets,
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:798:
constructor PartitionData in class PartitionData is deprecated: see
corresponding Javadoc for more information.
(topicPartition, new ListOffsetResponse.PartitionData(Errors.NONE,
offsets.map(JLong.valueOf).asJava))
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:807:
constructor PartitionData in class PartitionData is deprecated: see
corresponding Javadoc for more information.
(topicPartition, new
ListOffsetResponse.PartitionData(Errors.forException(e), List[JLong]().asJava))
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:810:
constructor PartitionData in class PartitionData is deprecated: see
corresponding Javadoc for more information.
(topicPartition, new
ListOffsetResponse.PartitionData(Errors.forException(e), List[JLong]().asJava))
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/main/scala/kafka/server/KafkaConfig.scala>:231:
value DEFAULT_SASL_ENABLED_MECHANISMS in object SaslConfigs is deprecated: see
corresponding Javadoc for more information.
val SaslEnabledMechanisms = SaslConfigs.DEFAULT_SASL_ENABLED_MECHANISMS
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/main/scala/kafka/server/ReplicaFetcherThread.scala>:231:
value offsets in class PartitionData is deprecated: see corresponding Javadoc
for more information.
responsePartitionData.offsets.get(0)
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/main/scala/kafka/tools/ConsoleConsumer.scala>:573:
method checksum in class ConsumerRecord is deprecated: see corresponding
Javadoc for more information.
output.println(topicStr + "checksum:" + consumerRecord.checksum)
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/main/scala/kafka/tools/MirrorMaker.scala>:197:
class BaseConsumerRecord in package consumer is deprecated: This class has
been deprecated and will be removed in a future release. Please use
org.apache.kafka.clients.consumer.ConsumerRecord instead.
private def toBaseConsumerRecord(record: ConsumerRecord[Array[Byte],
Array[Byte]]): BaseConsumerRecord =
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/main/scala/kafka/tools/MirrorMaker.scala>:390:
method close in trait Producer is deprecated: see corresponding Javadoc for
more information.
this.producer.close(timeout, TimeUnit.MILLISECONDS)
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/main/scala/kafka/tools/MirrorMaker.scala>:417:
class BaseConsumerRecord in package consumer is deprecated: This class has
been deprecated and will be removed in a future release. Please use
org.apache.kafka.clients.consumer.ConsumerRecord instead.
def handle(record: BaseConsumerRecord):
util.List[ProducerRecord[Array[Byte], Array[Byte]]]
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/main/scala/kafka/tools/MirrorMaker.scala>:421:
class BaseConsumerRecord in package consumer is deprecated: This class has
been deprecated and will be removed in a future release. Please use
org.apache.kafka.clients.consumer.ConsumerRecord instead.
override def handle(record: BaseConsumerRecord):
util.List[ProducerRecord[Array[Byte], Array[Byte]]] = {
^
20 warnings found
Note:
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/main/scala/kafka/tools/StreamsResetter.java>
uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
> Task :kafka-2.2-jdk8:core:processResources NO-SOURCE
> Task :kafka-2.2-jdk8:core:classes
> Task :kafka-2.2-jdk8:core:checkstyleMain
> Task :kafka-2.2-jdk8:core:compileTestJava NO-SOURCE
> Task :kafka-2.2-jdk8:core:compileTestScala
Pruning sources from previous analysis, due to incompatible CompileSetup.
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/test/scala/integration/kafka/api/AdminClientIntegrationTest.scala>:1344:
enclosing method testElectPreferredLeaders has result type Unit: return value
discarded
return !description.asScala.flatMap{
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/test/scala/unit/kafka/admin/PreferredReplicaLeaderElectionCommandTest.scala>:24:
imported `PreferredReplicaLeaderElectionCommand' is permanently hidden by
definition of object PreferredReplicaLeaderElectionCommand in package admin
import kafka.admin.PreferredReplicaLeaderElectionCommand
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/test/scala/unit/kafka/cluster/PartitionTest.scala>:561:
possible missing interpolator: detected interpolated identifier `$e`
case Left(e: ApiException) => fail("Should have seen
OffsetNotAvailableException, saw $e")
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/test/scala/unit/kafka/coordinator/group/GroupMetadataTest.scala>:20:
imported `GroupState' is permanently hidden by definition of trait GroupState
in package group
import kafka.admin.ConsumerGroupCommand.GroupState
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/test/scala/integration/kafka/api/AdminClientIntegrationTest.scala>:1034:
method close in class AdminClient is deprecated: see corresponding Javadoc for
more information.
client.close(2, TimeUnit.HOURS)
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/test/scala/integration/kafka/api/AdminClientIntegrationTest.scala>:1038:
method close in class AdminClient is deprecated: see corresponding Javadoc for
more information.
client.close(30, TimeUnit.MINUTES) // multiple close-with-timeout should
have no effect
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/test/scala/integration/kafka/api/AdminClientIntegrationTest.scala>:1054:
method close in class AdminClient is deprecated: see corresponding Javadoc for
more information.
client.close(0, TimeUnit.MILLISECONDS)
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/test/scala/integration/kafka/api/AdminClientIntegrationTest.scala>:1132:
method poll in class KafkaConsumer is deprecated: see corresponding Javadoc
for more information.
consumer.poll(5000)
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/test/scala/integration/kafka/api/AuthorizerIntegrationTest.scala>:746:
method poll in class KafkaConsumer is deprecated: see corresponding Javadoc
for more information.
consumer.poll(50)
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/test/scala/integration/kafka/api/AuthorizerIntegrationTest.scala>:793:
method poll in class KafkaConsumer is deprecated: see corresponding Javadoc
for more information.
consumer.poll(0)
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/test/scala/integration/kafka/api/AuthorizerIntegrationTest.scala>:819:
method poll in class KafkaConsumer is deprecated: see corresponding Javadoc
for more information.
consumer.poll(0)
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/test/scala/integration/kafka/api/BaseProducerSendTest.scala>:118:
method checksum in class RecordMetadata is deprecated: see corresponding
Javadoc for more information.
assertNotEquals(metadata.checksum(), 0)
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/test/scala/integration/kafka/api/BaseProducerSendTest.scala>:196:
method close in trait Producer is deprecated: see corresponding Javadoc for
more information.
producer.close(timeoutMs, TimeUnit.MILLISECONDS)
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/test/scala/integration/kafka/api/BaseProducerSendTest.scala>:251:
method close in trait Producer is deprecated: see corresponding Javadoc for
more information.
producer.close(20000L, TimeUnit.MILLISECONDS)
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/test/scala/integration/kafka/api/BaseProducerSendTest.scala>:448:
method close in trait Producer is deprecated: see corresponding Javadoc for
more information.
producer.close(0, TimeUnit.MILLISECONDS)
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/test/scala/integration/kafka/api/BaseProducerSendTest.scala>:457:
method poll in class KafkaConsumer is deprecated: see corresponding Javadoc
for more information.
assertEquals("Fetch response should have no message returned.", 0,
consumer.poll(50).count)
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/test/scala/integration/kafka/api/BaseProducerSendTest.scala>:479:
method close in trait Producer is deprecated: see corresponding Javadoc for
more information.
producer.close(0, TimeUnit.MILLISECONDS)
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/test/scala/integration/kafka/api/BaseProducerSendTest.scala>:481:
method close in trait Producer is deprecated: see corresponding Javadoc for
more information.
producer.close(Long.MaxValue, TimeUnit.MICROSECONDS)
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/test/scala/integration/kafka/api/BaseQuotaTest.scala>:143:
method poll in class KafkaConsumer is deprecated: see corresponding Javadoc
for more information.
consumer.poll(100)
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/test/scala/integration/kafka/api/BaseQuotaTest.scala>:200:
method poll in class KafkaConsumer is deprecated: see corresponding Javadoc
for more information.
numConsumed += consumer.poll(100).count
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/test/scala/integration/kafka/api/BaseQuotaTest.scala>:209:
method poll in class KafkaConsumer is deprecated: see corresponding Javadoc
for more information.
numConsumed += consumer.poll(100).count
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/test/scala/integration/kafka/api/ConsumerBounceTest.scala>:111:
method poll in class KafkaConsumer is deprecated: see corresponding Javadoc
for more information.
val records = consumer.poll(100).asScala
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/test/scala/integration/kafka/api/ConsumerBounceTest.scala>:181:
method poll in class KafkaConsumer is deprecated: see corresponding Javadoc
for more information.
consumer.poll(0)
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/test/scala/integration/kafka/api/ConsumerBounceTest.scala>:479:
method poll in class KafkaConsumer is deprecated: see corresponding Javadoc
for more information.
consumer.poll(0)
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/test/scala/integration/kafka/api/ConsumerBounceTest.scala>:486:
method poll in class KafkaConsumer is deprecated: see corresponding Javadoc
for more information.
otherConsumers.foreach(consumer => consumer.poll(100))
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/test/scala/integration/kafka/api/ConsumerBounceTest.scala>:567:
method close in class KafkaConsumer is deprecated: see corresponding Javadoc
for more information.
consumer.close(closeTimeoutMs, TimeUnit.MILLISECONDS)
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/test/scala/integration/kafka/api/ConsumerBounceTest.scala>:590:
method poll in class KafkaConsumer is deprecated: see corresponding Javadoc
for more information.
consumer.poll(3000)
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/test/scala/integration/kafka/api/IntegrationTestHarness.scala>:129:
method close in trait Producer is deprecated: see corresponding Javadoc for
more information.
producers.foreach(_.close(0, TimeUnit.MILLISECONDS))
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/test/scala/integration/kafka/server/DynamicBrokerReconfigurationTest.scala>:150:
method close in trait Producer is deprecated: see corresponding Javadoc for
more information.
producers.foreach(_.close(0, TimeUnit.MILLISECONDS))
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/test/scala/integration/kafka/server/DynamicBrokerReconfigurationTest.scala>:1304:
method poll in class KafkaConsumer is deprecated: see corresponding Javadoc
for more information.
assertEquals(0, consumer.poll(100).count)
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/test/scala/integration/kafka/server/DynamicBrokerReconfigurationTest.scala>:1459:
method poll in class KafkaConsumer is deprecated: see corresponding Javadoc
for more information.
val records = consumer.poll(50)
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/test/scala/other/kafka/ReplicationQuotasTestRig.scala>:141:
object ZkUtils in package utils is deprecated: This is an internal class that
is no longer used by Kafka and will be removed in a future release. Please use
org.apache.kafka.clients.admin.AdminClient instead.
ReassignPartitionsCommand.executeAssignment(zkClient, None,
ZkUtils.getReassignmentJson(newAssignment), Throttle(config.throttle))
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/test/scala/unit/kafka/admin/PreferredReplicaLeaderElectionCommandTest.scala>:150:
object ZkUtils in package utils is deprecated: This is an internal class that
is no longer used by Kafka and will be removed in a future release. Please use
org.apache.kafka.clients.admin.AdminClient instead.
val jsonString =
ZkUtils.preferredReplicaLeaderElectionZkData(partitions.map(new
TopicAndPartition(_)))
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/test/scala/unit/kafka/server/LogOffsetTest.scala>:120:
constructor PartitionData in class PartitionData is deprecated: see
corresponding Javadoc for more information.
new ListOffsetRequest.PartitionData(ListOffsetRequest.LATEST_TIMESTAMP,
15)).asJava).build()
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/test/scala/unit/kafka/server/LogOffsetTest.scala>:121:
value offsets in class PartitionData is deprecated: see corresponding Javadoc
for more information.
val consumerOffsets =
sendListOffsetsRequest(request).responseData.get(topicPartition).offsets.asScala
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/test/scala/unit/kafka/server/LogOffsetTest.scala>:148:
constructor PartitionData in class PartitionData is deprecated: see
corresponding Javadoc for more information.
new
ListOffsetRequest.PartitionData(ListOffsetRequest.EARLIEST_TIMESTAMP,
1)).asJava).build()
^
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/core/src/test/scala/unit/kafka/server/LogOffsetTest.scala>:149:
value offsets in class PartitionData is deprecated: see corresponding Javadoc
for more information.
val consumerOffsets =
sendListOffsetsRequest(request).responseData.get(topicPartition).offsets.asScala
^
37 warnings found
> Task :kafka-2.2-jdk8:core:processTestResources UP-TO-DATE
> Task :kafka-2.2-jdk8:core:testClasses
> Task :kafka-2.2-jdk8:core:checkstyleTest NO-SOURCE
> Task :kafka-2.2-jdk8:spotlessScala UP-TO-DATE
> Task :kafka-2.2-jdk8:spotlessScalaCheck UP-TO-DATE
> Task :kafka-2.2-jdk8:core:copyDependantLibs
> Task :kafka-2.2-jdk8:core:jar
> Task :kafka-2.2-jdk8:connect:api:compileJava UP-TO-DATE
> Task :kafka-2.2-jdk8:connect:api:processResources NO-SOURCE
> Task :kafka-2.2-jdk8:connect:api:classes UP-TO-DATE
> Task :kafka-2.2-jdk8:connect:api:copyDependantLibs UP-TO-DATE
> Task :kafka-2.2-jdk8:connect:api:jar UP-TO-DATE
> Task :kafka-2.2-jdk8:connect:json:compileJava UP-TO-DATE
> Task :kafka-2.2-jdk8:connect:json:processResources NO-SOURCE
> Task :kafka-2.2-jdk8:connect:json:classes UP-TO-DATE
> Task :kafka-2.2-jdk8:connect:json:copyDependantLibs UP-TO-DATE
> Task :kafka-2.2-jdk8:connect:json:jar UP-TO-DATE
> Task :kafka-2.2-jdk8:streams:compileJava FAILED
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/streams/src/main/java/org/apache/kafka/streams/state/internals/WrappedStateStore.java>:22:
error: cannot find symbol
import org.apache.kafka.streams.state.TimestampedBytesStore;
^
symbol: class TimestampedBytesStore
location: package org.apache.kafka.streams.state
1 error
> Task :kafka-2.2-jdk8:core:spotbugsMain
The following classes needed for analysis were missing:
org.apache.log4j.Logger
org.apache.log4j.Level
org.apache.log4j.LogManager
> Task :testScala_2_11 FAILED
FAILURE: Build completed with 3 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':streams:compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output. Run with --scan to get full insights.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':kafka-2.2-jdk8:streams:compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output. Run with --scan to get full insights.
==============================================================================
3: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':kafka-2.2-jdk8:streams:compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output. Run with --scan to get full insights.
==============================================================================
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with
Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See
https://docs.gradle.org/5.1.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 8m 56s
60 actionable tasks: 50 executed, 10 up-to-date
Build step 'Execute shell' marked build as failure
[FINDBUGS] Collecting findbugs analysis files...
Setting GRADLE_4_8_1_HOME=/home/jenkins/tools/gradle/4.8.1
[FINDBUGS] Searching for all files in
<https://builds.apache.org/job/kafka-2.2-jdk8/ws/> that match the pattern
**/build/reports/findbugs/*.xml
[FINDBUGS] No files found. Configuration error?
Setting GRADLE_4_8_1_HOME=/home/jenkins/tools/gradle/4.8.1
Setting GRADLE_4_8_1_HOME=/home/jenkins/tools/gradle/4.8.1
<Git Blamer> Using GitBlamer to create author and commit information for all
warnings.
<Git Blamer> GIT_COMMIT=b3b0ed637238375739c76fc5237f8c8414453875,
workspace=<https://builds.apache.org/job/kafka-2.2-jdk8/ws/>
Recording test results
Setting GRADLE_4_8_1_HOME=/home/jenkins/tools/gradle/4.8.1
ERROR: Step ?Publish JUnit test result report? failed: No test report files
were found. Configuration error?
Setting GRADLE_4_8_1_HOME=/home/jenkins/tools/gradle/4.8.1
Not sending mail to unregistered user [email protected]
Not sending mail to unregistered user [email protected]
Not sending mail to unregistered user [email protected]
Not sending mail to unregistered user [email protected]