See <https://builds.apache.org/job/kafka-trunk-jdk7/1095/changes>

Changes:

[cshapi] KAFKA-3339: Fix java docs for seekToEnd and seekToBeginning.

[cshapi] MINOR: streams javadoc corrections

[cshapi] KAFKA-3341: Improve error handling on invalid requests

------------------------------------------
[...truncated 48 lines...]
Building project 'core' with Scala version 2.10.6
:kafka-trunk-jdk7:clients:compileJavaNote: 
<https://builds.apache.org/job/kafka-trunk-jdk7/ws/clients/src/main/java/org/apache/kafka/clients/producer/KafkaProducer.java>
 uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

:kafka-trunk-jdk7:clients:processResources UP-TO-DATE
:kafka-trunk-jdk7:clients:classes
:kafka-trunk-jdk7:clients:determineCommitId UP-TO-DATE
:kafka-trunk-jdk7:clients:createVersionFile
:kafka-trunk-jdk7:clients:jar
:kafka-trunk-jdk7:core:compileJava UP-TO-DATE
:kafka-trunk-jdk7:core:compileScala
<https://builds.apache.org/job/kafka-trunk-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-trunk-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-trunk-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-trunk-jdk7/ws/core/src/main/scala/kafka/coordinator/GroupMetadataManager.scala>:400:
 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)
                                                                                
                            ^
<https://builds.apache.org/job/kafka-trunk-jdk7/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:298:
 value DEFAULT_TIMESTAMP in object OffsetCommitRequest is deprecated: see 
corresponding Javadoc for more information.
            if (offsetAndMetadata.commitTimestamp == 
org.apache.kafka.common.requests.OffsetCommitRequest.DEFAULT_TIMESTAMP)
                                                                                
                          ^
<https://builds.apache.org/job/kafka-trunk-jdk7/ws/core/src/main/scala/kafka/server/KafkaServer.scala>:307:
 a pure expression does nothing in statement position; you may be omitting 
necessary parentheses
    ControllerStats.uncleanLeaderElectionRate
                    ^
<https://builds.apache.org/job/kafka-trunk-jdk7/ws/core/src/main/scala/kafka/server/KafkaServer.scala>:308:
 a pure expression does nothing in statement position; you may be omitting 
necessary parentheses
    ControllerStats.leaderElectionTimer
                    ^
<https://builds.apache.org/job/kafka-trunk-jdk7/ws/core/src/main/scala/kafka/controller/ControllerChannelManager.scala>:391:
 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-trunk-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)
               ^
there were 15 feature warning(s); re-run with -feature for details
10 warnings found
:kafka-trunk-jdk7:core:processResources UP-TO-DATE
:kafka-trunk-jdk7:core:classes
:kafka-trunk-jdk7:clients:compileTestJavaNote: 
<https://builds.apache.org/job/kafka-trunk-jdk7/ws/clients/src/test/java/org/apache/kafka/common/requests/RequestResponseTest.java>
 uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

:kafka-trunk-jdk7:clients:processTestResources
:kafka-trunk-jdk7:clients:testClasses
:kafka-trunk-jdk7:core:copyDependantLibs
:kafka-trunk-jdk7:core:copyDependantTestLibs
:kafka-trunk-jdk7:core:jar
:jar_core_2_11
Building project 'core' with Scala version 2.11.7
:kafka-trunk-jdk7:clients:compileJava UP-TO-DATE
:kafka-trunk-jdk7:clients:processResources UP-TO-DATE
:kafka-trunk-jdk7:clients:classes UP-TO-DATE
:kafka-trunk-jdk7:clients:determineCommitId UP-TO-DATE
:kafka-trunk-jdk7:clients:createVersionFile
:kafka-trunk-jdk7:clients:jar UP-TO-DATE
:kafka-trunk-jdk7:core:compileJava UP-TO-DATE
:kafka-trunk-jdk7:core:compileScala
<https://builds.apache.org/job/kafka-trunk-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-trunk-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-trunk-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-trunk-jdk7/ws/core/src/main/scala/kafka/coordinator/GroupMetadataManager.scala>:400:
 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)
                                                                                
                            ^
<https://builds.apache.org/job/kafka-trunk-jdk7/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:298:
 value DEFAULT_TIMESTAMP in object OffsetCommitRequest is deprecated: see 
corresponding Javadoc for more information.
            if (offsetAndMetadata.commitTimestamp == 
org.apache.kafka.common.requests.OffsetCommitRequest.DEFAULT_TIMESTAMP)
                                                                                
                          ^
<https://builds.apache.org/job/kafka-trunk-jdk7/ws/core/src/main/scala/kafka/server/KafkaServer.scala>:307:
 a pure expression does nothing in statement position; you may be omitting 
necessary parentheses
    ControllerStats.uncleanLeaderElectionRate
                    ^
<https://builds.apache.org/job/kafka-trunk-jdk7/ws/core/src/main/scala/kafka/server/KafkaServer.scala>:308:
 a pure expression does nothing in statement position; you may be omitting 
necessary parentheses
    ControllerStats.leaderElectionTimer
                    ^
<https://builds.apache.org/job/kafka-trunk-jdk7/ws/core/src/main/scala/kafka/admin/AclCommand.scala>:246:
 method readLine in class DeprecatedConsole is deprecated: Use the method in 
scala.io.StdIn
    Console.readLine().equalsIgnoreCase("y")
            ^
<https://builds.apache.org/job/kafka-trunk-jdk7/ws/core/src/main/scala/kafka/admin/TopicCommand.scala>:371:
 method readLine in class DeprecatedConsole is deprecated: Use the method in 
scala.io.StdIn
    if (!Console.readLine().equalsIgnoreCase("y")) {
                 ^
<https://builds.apache.org/job/kafka-trunk-jdk7/ws/core/src/main/scala/kafka/controller/ControllerChannelManager.scala>:391:
 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-trunk-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)
               ^
there were 15 feature warnings; re-run with -feature for details
12 warnings found
:kafka-trunk-jdk7:core:processResources UP-TO-DATE
:kafka-trunk-jdk7:core:classes
:kafka-trunk-jdk7:clients:compileTestJava UP-TO-DATE
:kafka-trunk-jdk7:clients:processTestResources UP-TO-DATE
:kafka-trunk-jdk7:clients:testClasses UP-TO-DATE
:kafka-trunk-jdk7:core:copyDependantLibs
:kafka-trunk-jdk7:core:copyDependantTestLibs
:kafka-trunk-jdk7:core:jar
:clients:compileJava UP-TO-DATE
:clients:processResources UP-TO-DATE
:clients:classes UP-TO-DATE
: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-trunk-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-trunk-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-trunk-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-trunk-jdk7/ws/core/src/main/scala/kafka/coordinator/GroupMetadataManager.scala>:400:
 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)
                                                                                
                            ^
<https://builds.apache.org/job/kafka-trunk-jdk7/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:298:
 value DEFAULT_TIMESTAMP in object OffsetCommitRequest is deprecated: see 
corresponding Javadoc for more information.
            if (offsetAndMetadata.commitTimestamp == 
org.apache.kafka.common.requests.OffsetCommitRequest.DEFAULT_TIMESTAMP)
                                                                                
                          ^
<https://builds.apache.org/job/kafka-trunk-jdk7/ws/core/src/main/scala/kafka/server/KafkaServer.scala>:307:
 a pure expression does nothing in statement position; you may be omitting 
necessary parentheses
    ControllerStats.uncleanLeaderElectionRate
                    ^
<https://builds.apache.org/job/kafka-trunk-jdk7/ws/core/src/main/scala/kafka/server/KafkaServer.scala>:308:
 a pure expression does nothing in statement position; you may be omitting 
necessary parentheses
    ControllerStats.leaderElectionTimer
                    ^
<https://builds.apache.org/job/kafka-trunk-jdk7/ws/core/src/main/scala/kafka/controller/ControllerChannelManager.scala>:391:
 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-trunk-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)
               ^
there were 15 feature warning(s); re-run with -feature for details
10 warnings found
:core:processResources UP-TO-DATE
:core:classes
:clients:compileTestJava UP-TO-DATE
:clients:processTestResources UP-TO-DATE
:clients:testClasses UP-TO-DATE
:core:copyDependantLibs UP-TO-DATE
:core:copyDependantTestLibs
:core:jar UP-TO-DATE
:examples:compileJava
:examples:processResources UP-TO-DATE
:examples:classes
:examples:jar
:log4j-appender:compileJava
:log4j-appender:processResources UP-TO-DATE
:log4j-appender:classes
:log4j-appender:jar
:connect:api:compileJavaNote: 
<https://builds.apache.org/job/kafka-trunk-jdk7/ws/connect/api/src/main/java/org/apache/kafka/connect/data/Struct.java>
 uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

:connect:api:processResources UP-TO-DATE
:connect:api:classes
:connect:api:copyDependantLibs
:connect:api:jar
:connect:json:compileJavaNote: 
<https://builds.apache.org/job/kafka-trunk-jdk7/ws/connect/json/src/main/java/org/apache/kafka/connect/json/JsonConverter.java>
 uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

:connect:json:processResources UP-TO-DATE
:connect:json:classes
:connect:json:copyDependantLibs
:connect:json:jar
:streams:compileJavaNote: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

:streams:processResources UP-TO-DATE
:streams:classes
:streams:copyDependantLibs
:streams:jar
:tools:compileJava
:tools:processResources UP-TO-DATE
:tools:classes
:tools:copyDependantLibs
:tools:jar
:connect:file:compileJava
:connect:file:processResources UP-TO-DATE
:connect:file:classes
:connect:file:copyDependantLibs
:connect:file:jar
:connect:runtime:compileJavaNote: Some input files use unchecked or unsafe 
operations.
Note: Recompile with -Xlint:unchecked for details.

:connect:runtime:processResources UP-TO-DATE
:connect:runtime:classes
:connect:runtime:copyDependantLibs
:connect:runtime:jar
:streams:examples:compileJava
:streams:examples:processResources UP-TO-DATE
:streams:examples:classes
:streams:examples:copyDependantLibs
:streams:examples:jar
:jarAll
:test_core_2_10
Building project 'core' with Scala version 2.10.6
:kafka-trunk-jdk7:clients:compileJava UP-TO-DATE
:kafka-trunk-jdk7:clients:processResources UP-TO-DATE
:kafka-trunk-jdk7:clients:classes UP-TO-DATE
:kafka-trunk-jdk7:clients:determineCommitId UP-TO-DATE
:kafka-trunk-jdk7:clients:createVersionFile
:kafka-trunk-jdk7:clients:jar UP-TO-DATE
:kafka-trunk-jdk7:clients:compileTestJava UP-TO-DATE
:kafka-trunk-jdk7:clients:processTestResources UP-TO-DATE
:kafka-trunk-jdk7:clients:testClasses UP-TO-DATE
:kafka-trunk-jdk7:core:compileJava UP-TO-DATE
:kafka-trunk-jdk7:core:compileScala UP-TO-DATE
:kafka-trunk-jdk7:core:processResources UP-TO-DATE
:kafka-trunk-jdk7:core:classes UP-TO-DATE
:kafka-trunk-jdk7:core:checkstyleMain
:kafka-trunk-jdk7:core:compileTestJava UP-TO-DATE
:kafka-trunk-jdk7:core:compileTestScala
<https://builds.apache.org/job/kafka-trunk-jdk7/ws/core/src/test/scala/integration/kafka/api/QuotasTest.scala>:74:
 value BLOCK_ON_BUFFER_FULL_CONFIG in object ProducerConfig is deprecated: see 
corresponding Javadoc for more information.
    producerProps.put(ProducerConfig.BLOCK_ON_BUFFER_FULL_CONFIG, "false")
                                     ^
<https://builds.apache.org/job/kafka-trunk-jdk7/ws/core/src/test/scala/kafka/tools/TestLogCleaning.scala>:250:
 value BLOCK_ON_BUFFER_FULL_CONFIG in object ProducerConfig is deprecated: see 
corresponding Javadoc for more information.
    producerProps.setProperty(ProducerConfig.BLOCK_ON_BUFFER_FULL_CONFIG, 
"true")
                                             ^
there were 4 feature warning(s); re-run with -feature for details
three warnings found
:kafka-trunk-jdk7:core:processTestResources
:test_core_2_10 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
org.gradle.api.internal.changedetection.state.DefaultFileCollectionSnapshotter$FileCollectionSnapshotImpl
 cannot be cast to 
org.gradle.api.internal.changedetection.state.OutputFilesCollectionSnapshotter$OutputFilesSnapshot

* 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: 11 mins 56.394 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

Reply via email to