See <https://builds.apache.org/job/kafka-0.10.0-jdk7/104/changes>
Changes: [ismael] KAFKA-3393; Updated the docs to reflect the deprecation of [ismael] KAFKA-3258; Delete broker topic metrics of deleted topics ------------------------------------------ Started by an SCM change [EnvInject] - Loading node environment variables. Building remotely on ubuntu3 (Ubuntu ubuntu legacy-ubuntu) in workspace <https://builds.apache.org/job/kafka-0.10.0-jdk7/ws/> > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url > https://git-wip-us.apache.org/repos/asf/kafka.git # timeout=10 Fetching upstream changes from https://git-wip-us.apache.org/repos/asf/kafka.git > git --version # timeout=10 > git -c core.askpass=true fetch --tags --progress > https://git-wip-us.apache.org/repos/asf/kafka.git > +refs/heads/*:refs/remotes/origin/* > git rev-parse refs/remotes/origin/0.10.0^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/0.10.0^{commit} # timeout=10 Checking out Revision a86ae26fcb18d307d5d54f7061df613ce148fc33 (refs/remotes/origin/0.10.0) > git config core.sparsecheckout # timeout=10 > git checkout -f a86ae26fcb18d307d5d54f7061df613ce148fc33 > git rev-list a1838755a206fc769ef1fe947eafe3ff245afeb6 # timeout=10 Setting GRADLE_2_4_RC_2_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.4-rc-2 Setting JDK_1_7U51_HOME=/home/jenkins/jenkins-slave/tools/hudson.model.JDK/jdk-1.7u51 [kafka-0.10.0-jdk7] $ /bin/bash -xe /tmp/hudson2127636917590360743.sh + /home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.4-rc-2/bin/gradle To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: http://gradle.org/docs/2.4-rc-2/userguide/gradle_daemon.html. Building project 'core' with Scala version 2.10.6 :downloadWrapper BUILD SUCCESSFUL Total time: 41.494 secs Setting GRADLE_2_4_RC_2_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.4-rc-2 Setting JDK_1_7U51_HOME=/home/jenkins/jenkins-slave/tools/hudson.model.JDK/jdk-1.7u51 [kafka-0.10.0-jdk7] $ /bin/bash -xe /tmp/hudson2510383336211240427.sh + export GRADLE_OPTS=-Xmx1024m + GRADLE_OPTS=-Xmx1024m + ./gradlew -Dorg.gradle.project.maxParallelForks=1 clean jarAll testAll To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.13/userguide/gradle_daemon.html. Building project 'core' with Scala version 2.10.6 Build file '/x1/jenkins/jenkins-slave/workspace/kafka-0.10.0-jdk7/build.gradle': line 231 useAnt has been deprecated and is scheduled to be removed in Gradle 3.0. The Ant-Based Scala compiler is deprecated, please see https://docs.gradle.org/current/userguide/scala_plugin.html. :clean UP-TO-DATE :clients:clean :connect:clean UP-TO-DATE :core:clean :examples:clean :log4j-appender:clean :streams:clean :tools:clean :connect:api:clean :connect:file:clean :connect:json:clean :connect:runtime:clean :streams:examples:clean :jar_core_2_10 Building project 'core' with Scala version 2.10.6 :kafka-0.10.0-jdk7:clients:compileJavaNote: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. :kafka-0.10.0-jdk7:clients:processResources UP-TO-DATE :kafka-0.10.0-jdk7:clients:classes :kafka-0.10.0-jdk7:clients:determineCommitId UP-TO-DATE :kafka-0.10.0-jdk7:clients:createVersionFile :kafka-0.10.0-jdk7:clients:jar :kafka-0.10.0-jdk7:core:compileJava UP-TO-DATE :kafka-0.10.0-jdk7:core:compileScala /x1/jenkins/jenkins-slave/workspace/kafka-0.10.0-jdk7/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 ^ /x1/jenkins/jenkins-slave/workspace/kafka-0.10.0-jdk7/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, ^ /x1/jenkins/jenkins-slave/workspace/kafka-0.10.0-jdk7/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) { ^ /x1/jenkins/jenkins-slave/workspace/kafka-0.10.0-jdk7/core/src/main/scala/kafka/coordinator/GroupMetadataManager.scala:401: value DEFAULT_TIMESTAMP in object OffsetCommitRequest is deprecated: see corresponding Javadoc for more information. if (value.expireTimestamp == org.apache.kafka.common.requests.OffsetCommitRequest.DEFAULT_TIMESTAMP) ^ /x1/jenkins/jenkins-slave/workspace/kafka-0.10.0-jdk7/core/src/main/scala/kafka/server/KafkaApis.scala:301: value DEFAULT_TIMESTAMP in object OffsetCommitRequest is deprecated: see corresponding Javadoc for more information. if (partitionData.timestamp == OffsetCommitRequest.DEFAULT_TIMESTAMP) ^ /x1/jenkins/jenkins-slave/workspace/kafka-0.10.0-jdk7/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) ^ /x1/jenkins/jenkins-slave/workspace/kafka-0.10.0-jdk7/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) ^ /x1/jenkins/jenkins-slave/workspace/kafka-0.10.0-jdk7/core/src/main/scala/kafka/controller/ControllerChannelManager.scala:396: constructor UpdateMetadataRequest in class UpdateMetadataRequest is deprecated: see corresponding Javadoc for more information. new UpdateMetadataRequest(controllerId, controllerEpoch, liveBrokers.asJava, partitionStates.asJava) ^ /x1/jenkins/jenkins-slave/workspace/kafka-0.10.0-jdk7/core/src/main/scala/kafka/metrics/KafkaMetricsGroup.scala:191: object ProducerRequestStatsRegistry in package producer is deprecated: This object has been deprecated and will be removed in a future release. ProducerRequestStatsRegistry.removeProducerRequestStats(clientId) ^ /x1/jenkins/jenkins-slave/workspace/kafka-0.10.0-jdk7/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) ^ /x1/jenkins/jenkins-slave/workspace/kafka-0.10.0-jdk7/core/src/main/scala/kafka/server/KafkaApis.scala:301: value timestamp in class PartitionData is deprecated: see corresponding Javadoc for more information. if (partitionData.timestamp == OffsetCommitRequest.DEFAULT_TIMESTAMP) ^ /x1/jenkins/jenkins-slave/workspace/kafka-0.10.0-jdk7/core/src/main/scala/kafka/server/KafkaApis.scala:304: value timestamp in class PartitionData is deprecated: see corresponding Javadoc for more information. offsetRetention + partitionData.timestamp ^ /x1/jenkins/jenkins-slave/workspace/kafka-0.10.0-jdk7/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)) ^ /x1/jenkins/jenkins-slave/workspace/kafka-0.10.0-jdk7/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)) ^ 14 warnings found :jar_core_2_10 FAILED FAILURE: Build failed with an exception. * What went wrong: Failed to capture snapshot of output files for task 'compileScala' during up-to-date check. > Could not add entry > '/x1/jenkins/jenkins-slave/workspace/kafka-0.10.0-jdk7/core/build/classes/main/kafka/server/ReplicaManager$$anonfun$22$$anonfun$apply$23.class' > to cache fileHashes.bin > (/x1/jenkins/jenkins-slave/workspace/kafka-0.10.0-jdk7/.gradle/2.13/taskArtifacts/fileHashes.bin). * 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 mins 54.237 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 JDK_1_7U51_HOME=/home/jenkins/jenkins-slave/tools/hudson.model.JDK/jdk-1.7u51 ERROR: Step ?Publish JUnit test result report? failed: No test report files were found. Configuration error? Setting GRADLE_2_4_RC_2_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.4-rc-2 Setting JDK_1_7U51_HOME=/home/jenkins/jenkins-slave/tools/hudson.model.JDK/jdk-1.7u51