See <https://builds.apache.org/job/kafka-0.10.1-jdk7/85/changes>
Changes: [wangguoz] HOTFIX: failing to close this iterator causes leaks in rocksdb ------------------------------------------ [...truncated 12159 lines...] org.apache.kafka.common.security.ssl.SslFactoryTest > testClientMode STARTED org.apache.kafka.common.security.ssl.SslFactoryTest > testClientMode PASSED org.apache.kafka.common.security.ssl.SslFactoryTest > testSslFactoryConfiguration STARTED org.apache.kafka.common.security.ssl.SslFactoryTest > testSslFactoryConfiguration PASSED org.apache.kafka.common.security.auth.KafkaPrincipalTest > testPrincipalNameCanContainSeparator STARTED org.apache.kafka.common.security.auth.KafkaPrincipalTest > testPrincipalNameCanContainSeparator PASSED org.apache.kafka.common.security.auth.KafkaPrincipalTest > testEqualsAndHashCode STARTED org.apache.kafka.common.security.auth.KafkaPrincipalTest > testEqualsAndHashCode PASSED org.apache.kafka.common.internals.PartitionStatesTest > testSet STARTED org.apache.kafka.common.internals.PartitionStatesTest > testSet PASSED org.apache.kafka.common.internals.PartitionStatesTest > testClear STARTED org.apache.kafka.common.internals.PartitionStatesTest > testClear PASSED org.apache.kafka.common.internals.PartitionStatesTest > testRemove STARTED org.apache.kafka.common.internals.PartitionStatesTest > testRemove PASSED org.apache.kafka.common.internals.PartitionStatesTest > testMoveToEnd STARTED org.apache.kafka.common.internals.PartitionStatesTest > testMoveToEnd PASSED org.apache.kafka.common.internals.PartitionStatesTest > testUpdateAndMoveToEnd STARTED org.apache.kafka.common.internals.PartitionStatesTest > testUpdateAndMoveToEnd PASSED org.apache.kafka.common.internals.PartitionStatesTest > testPartitionValues STARTED org.apache.kafka.common.internals.PartitionStatesTest > testPartitionValues PASSED org.apache.kafka.common.utils.UtilsTest > testAbs STARTED org.apache.kafka.common.utils.UtilsTest > testAbs PASSED org.apache.kafka.common.utils.UtilsTest > testMin STARTED org.apache.kafka.common.utils.UtilsTest > testMin PASSED org.apache.kafka.common.utils.UtilsTest > testJoin STARTED org.apache.kafka.common.utils.UtilsTest > testJoin PASSED org.apache.kafka.common.utils.UtilsTest > testReadBytes STARTED org.apache.kafka.common.utils.UtilsTest > testReadBytes PASSED org.apache.kafka.common.utils.UtilsTest > testGetHost STARTED org.apache.kafka.common.utils.UtilsTest > testGetHost PASSED org.apache.kafka.common.utils.UtilsTest > testGetPort STARTED org.apache.kafka.common.utils.UtilsTest > testGetPort PASSED org.apache.kafka.common.utils.UtilsTest > testCloseAll STARTED org.apache.kafka.common.utils.UtilsTest > testCloseAll PASSED org.apache.kafka.common.utils.UtilsTest > testFormatAddress STARTED org.apache.kafka.common.utils.UtilsTest > testFormatAddress PASSED org.apache.kafka.common.utils.CrcTest > testUpdateInt STARTED org.apache.kafka.common.utils.CrcTest > testUpdateInt PASSED org.apache.kafka.common.utils.CrcTest > testUpdate STARTED org.apache.kafka.common.utils.CrcTest > testUpdate PASSED org.apache.kafka.common.utils.AbstractIteratorTest > testEmptyIterator STARTED org.apache.kafka.common.utils.AbstractIteratorTest > testEmptyIterator PASSED org.apache.kafka.common.utils.AbstractIteratorTest > testIterator STARTED org.apache.kafka.common.utils.AbstractIteratorTest > testIterator PASSED :clients:determineCommitId UP-TO-DATE :clients:createVersionFile :clients:jar UP-TO-DATE :core:compileJava UP-TO-DATE :core:compileScala <https://builds.apache.org/job/kafka-0.10.1-jdk7/ws/core/src/main/scala/kafka/api/OffsetCommitRequest.scala>:79: value DEFAULT_TIMESTAMP in object OffsetCommitRequest is deprecated: see corresponding Javadoc for more information. org.apache.kafka.common.requests.OffsetCommitRequest.DEFAULT_TIMESTAMP ^ <https://builds.apache.org/job/kafka-0.10.1-jdk7/ws/core/src/main/scala/kafka/common/OffsetMetadataAndError.scala>:36: value DEFAULT_TIMESTAMP in object OffsetCommitRequest is deprecated: see corresponding Javadoc for more information. commitTimestamp: Long = org.apache.kafka.common.requests.OffsetCommitRequest.DEFAULT_TIMESTAMP, ^ <https://builds.apache.org/job/kafka-0.10.1-jdk7/ws/core/src/main/scala/kafka/common/OffsetMetadataAndError.scala>:37: value DEFAULT_TIMESTAMP in object OffsetCommitRequest is deprecated: see corresponding Javadoc for more information. expireTimestamp: Long = org.apache.kafka.common.requests.OffsetCommitRequest.DEFAULT_TIMESTAMP) { ^ <https://builds.apache.org/job/kafka-0.10.1-jdk7/ws/core/src/main/scala/kafka/coordinator/GroupMetadataManager.scala>:523: value DEFAULT_TIMESTAMP in object OffsetCommitRequest is deprecated: see corresponding Javadoc for more information. if (offsetAndMetadata.expireTimestamp == org.apache.kafka.common.requests.OffsetCommitRequest.DEFAULT_TIMESTAMP) ^ <https://builds.apache.org/job/kafka-0.10.1-jdk7/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:313: value DEFAULT_TIMESTAMP in object OffsetCommitRequest is deprecated: see corresponding Javadoc for more information. if (partitionData.timestamp == OffsetCommitRequest.DEFAULT_TIMESTAMP) ^ <https://builds.apache.org/job/kafka-0.10.1-jdk7/ws/core/src/main/scala/kafka/client/ClientUtils.scala>:93: class ProducerConfig in package producer is deprecated: This class has been deprecated and will be removed in a future release. Please use org.apache.kafka.clients.producer.ProducerConfig instead. val producerConfig = new ProducerConfig(props) ^ <https://builds.apache.org/job/kafka-0.10.1-jdk7/ws/core/src/main/scala/kafka/client/ClientUtils.scala>:94: method fetchTopicMetadata in object ClientUtils is deprecated: This method has been deprecated and will be removed in a future release. fetchTopicMetadata(topics, brokers, producerConfig, correlationId) ^ <https://builds.apache.org/job/kafka-0.10.1-jdk7/ws/core/src/main/scala/kafka/controller/ControllerChannelManager.scala>:393: constructor UpdateMetadataRequest in class UpdateMetadataRequest is deprecated: see corresponding Javadoc for more information. new UpdateMetadataRequest(controllerId, controllerEpoch, liveBrokers.asJava, partitionStates.asJava) ^ <https://builds.apache.org/job/kafka-0.10.1-jdk7/ws/core/src/main/scala/kafka/metrics/KafkaMetricsGroup.scala>:195: object ProducerRequestStatsRegistry in package producer is deprecated: This object has been deprecated and will be removed in a future release. ProducerRequestStatsRegistry.removeProducerRequestStats(clientId) ^ <https://builds.apache.org/job/kafka-0.10.1-jdk7/ws/core/src/main/scala/kafka/network/BlockingChannel.scala>:129: method readFromReadableChannel in class NetworkReceive is deprecated: see corresponding Javadoc for more information. response.readFromReadableChannel(channel) ^ <https://builds.apache.org/job/kafka-0.10.1-jdk7/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:313: value timestamp in class PartitionData is deprecated: see corresponding Javadoc for more information. if (partitionData.timestamp == OffsetCommitRequest.DEFAULT_TIMESTAMP) ^ <https://builds.apache.org/job/kafka-0.10.1-jdk7/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:316: value timestamp in class PartitionData is deprecated: see corresponding Javadoc for more information. offsetRetention + partitionData.timestamp ^ <https://builds.apache.org/job/kafka-0.10.1-jdk7/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:569: method offsetData in class ListOffsetRequest is deprecated: see corresponding Javadoc for more information. val (authorizedRequestInfo, unauthorizedRequestInfo) = offsetRequest.offsetData.asScala.partition { ^ <https://builds.apache.org/job/kafka-0.10.1-jdk7/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:569: class PartitionData in object ListOffsetRequest is deprecated: see corresponding Javadoc for more information. val (authorizedRequestInfo, unauthorizedRequestInfo) = offsetRequest.offsetData.asScala.partition { ^ <https://builds.apache.org/job/kafka-0.10.1-jdk7/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:574: constructor PartitionData in class PartitionData is deprecated: see corresponding Javadoc for more information. new ListOffsetResponse.PartitionData(Errors.UNKNOWN_TOPIC_OR_PARTITION.code, List[JLong]().asJava) ^ <https://builds.apache.org/job/kafka-0.10.1-jdk7/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:599: constructor PartitionData in class PartitionData is deprecated: see corresponding Javadoc for more information. (topicPartition, new ListOffsetResponse.PartitionData(Errors.NONE.code, offsets.map(new JLong(_)).asJava)) ^ <https://builds.apache.org/job/kafka-0.10.1-jdk7/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:606: constructor PartitionData in class PartitionData is deprecated: see corresponding Javadoc for more information. (topicPartition, new ListOffsetResponse.PartitionData(Errors.forException(e).code, List[JLong]().asJava)) ^ <https://builds.apache.org/job/kafka-0.10.1-jdk7/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:609: constructor PartitionData in class PartitionData is deprecated: see corresponding Javadoc for more information. (topicPartition, new ListOffsetResponse.PartitionData(Errors.forException(e).code, List[JLong]().asJava)) ^ <https://builds.apache.org/job/kafka-0.10.1-jdk7/ws/core/src/main/scala/kafka/server/ReplicaFetcherThread.scala>:270: class PartitionData in object ListOffsetRequest is deprecated: see corresponding Javadoc for more information. val partitions = Map(topicPartition -> new ListOffsetRequest.PartitionData(earliestOrLatest, 1)) ^ <https://builds.apache.org/job/kafka-0.10.1-jdk7/ws/core/src/main/scala/kafka/server/ReplicaFetcherThread.scala>:271: constructor ListOffsetRequest in class ListOffsetRequest is deprecated: see corresponding Javadoc for more information. (new ListOffsetRequest(consumerId, partitions.asJava), 0) ^ <https://builds.apache.org/job/kafka-0.10.1-jdk7/ws/core/src/main/scala/kafka/server/ReplicaFetcherThread.scala>:281: value offsets in class PartitionData is deprecated: see corresponding Javadoc for more information. partitionData.offsets.get(0) ^ <https://builds.apache.org/job/kafka-0.10.1-jdk7/ws/core/src/main/scala/kafka/server/ReplicaFetcherThread.scala>:298: method fromReplica in object FetchRequest is deprecated: see corresponding Javadoc for more information. else JFetchRequest.fromReplica(replicaId, maxWait, minBytes, requestMap) ^ <https://builds.apache.org/job/kafka-0.10.1-jdk7/ws/core/src/main/scala/kafka/tools/ConsoleProducer.scala>:43: class OldProducer in package producer is deprecated: This class has been deprecated and will be removed in a future release. Please use org.apache.kafka.clients.producer.KafkaProducer instead. new OldProducer(getOldProducerProps(config)) ^ <https://builds.apache.org/job/kafka-0.10.1-jdk7/ws/core/src/main/scala/kafka/tools/ConsoleProducer.scala>:45: class NewShinyProducer in package producer is deprecated: This class has been deprecated and will be removed in a future release. Please use org.apache.kafka.clients.producer.KafkaProducer instead. new NewShinyProducer(getNewProducerProps(config)) ^ 24 warnings found :core:processResources UP-TO-DATE :core:classes :core:copyDependantLibs :core:jar :examples:compileJava :examples:processResources UP-TO-DATE :examples:classes :examples:checkstyleMain :examples:compileTestJava UP-TO-DATE :examples:processTestResources UP-TO-DATE :examples:testClasses UP-TO-DATE :examples:checkstyleTest UP-TO-DATE :examples:test UP-TO-DATE :log4j-appender:compileJava :log4j-appender:processResources UP-TO-DATE :log4j-appender:classes :log4j-appender:checkstyleMain :log4j-appender:compileTestJava :log4j-appender:processTestResources UP-TO-DATE :log4j-appender:testClasses :log4j-appender:checkstyleTest :log4j-appender:test org.apache.kafka.log4jappender.KafkaLog4jAppenderTest > testLog4jAppends STARTED org.apache.kafka.log4jappender.KafkaLog4jAppenderTest > testLog4jAppends PASSED org.apache.kafka.log4jappender.KafkaLog4jAppenderTest > testKafkaLog4jConfigs STARTED org.apache.kafka.log4jappender.KafkaLog4jAppenderTest > testKafkaLog4jConfigs PASSED :core:compileTestJava UP-TO-DATE :core:compileTestScala <https://builds.apache.org/job/kafka-0.10.1-jdk7/ws/core/src/test/scala/integration/kafka/api/AuthorizerIntegrationTest.scala>:194: constructor ListOffsetRequest in class ListOffsetRequest is deprecated: see corresponding Javadoc for more information. new requests.ListOffsetRequest(Map(tp -> new ListOffsetRequest.PartitionData(0, 100)).asJava) ^ <https://builds.apache.org/job/kafka-0.10.1-jdk7/ws/core/src/test/scala/integration/kafka/api/AuthorizerIntegrationTest.scala>:194: class PartitionData in object ListOffsetRequest is deprecated: see corresponding Javadoc for more information. new requests.ListOffsetRequest(Map(tp -> new ListOffsetRequest.PartitionData(0, 100)).asJava) ^ <https://builds.apache.org/job/kafka-0.10.1-jdk7/ws/core/src/test/scala/unit/kafka/metrics/MetricsTest.scala>:88: method createAndShutdownStep in class MetricsTest is deprecated: This test has been deprecated and it will be removed in a future release createAndShutdownStep("group0", "consumer0", "producer0") ^ <https://builds.apache.org/job/kafka-0.10.1-jdk7/ws/core/src/test/scala/unit/kafka/server/FetchRequestTest.scala>:158: constructor FetchRequest in class FetchRequest is deprecated: see corresponding Javadoc for more information. val fetchRequest = new FetchRequest(Int.MaxValue, 0, createPartitionMap(maxPartitionBytes, Seq(topicPartition))) ^ four warnings found :core:processTestResources UP-TO-DATE :core:testClasses :connect:api:compileJava :connect:api:processResources UP-TO-DATE :connect:api:classes :connect:api:copyDependantLibs :connect:api:jar :connect:json:compileJava :connect:json:processResources UP-TO-DATE :connect:json:classes :connect:json:copyDependantLibs :connect:json:jar :streams:compileJava<https://builds.apache.org/job/kafka-0.10.1-jdk7/ws/streams/src/main/java/org/apache/kafka/streams/processor/ConsumerRecordTimestampExtractor.java>:46: error: ConsumerRecordTimestampExtractor is not abstract and does not override abstract method extract(ConsumerRecord<Object,Object>) in TimestampExtractor public class ConsumerRecordTimestampExtractor implements TimestampExtractor { ^ <https://builds.apache.org/job/kafka-0.10.1-jdk7/ws/streams/src/main/java/org/apache/kafka/streams/processor/ConsumerRecordTimestampExtractor.java>:56: error: method does not override or implement a method from a supertype @Override ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 2 errors FAILED FAILURE: Build 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. BUILD FAILED Total time: 1 hrs 17 mins 20.063 secs Build step 'Execute shell' marked build as failure Recording test results Setting GRADLE_2_4_RC_2_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.4-rc-2 Setting GRADLE_2_4_RC_2_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.4-rc-2