[ 
https://issues.apache.org/jira/browse/KAFKA-1171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13890276#comment-13890276
 ] 

Guozhang Wang commented on KAFKA-1171:
--------------------------------------

Tried v9 with all the functionalities, a few observations:
-----
1. When apply the patch some warnings are shown.

[guwang@guwang-ld2 kafka_1171v8]$ git apply kafka-1171_v9.patch
kafka-1171_v9.patch:168: trailing whitespace.
  
kafka-1171_v9.patch:286: trailing whitespace.
  tasks.create(name: "releaseTarGz", dependsOn: 
configurations.archives.artifacts, type: Tar) { 
kafka-1171_v9.patch:288: trailing whitespace.
    compression = Compression.GZIP 
warning: 3 lines add whitespace errors.

-------
2. The first time I run ./gradlew build all tests passed OK, then if I change 
one line in one of the test (testCircularIterator) to let it fail, sometimes 
another test fails also:

kafka.server.LogRecoveryTest > testHWCheckpointNoFailuresMultipleLogSegments 
FAILED
    java.lang.AssertionError at LogRecoveryTest.scala:182

kafka.utils.UtilsTest > testCircularIterator FAILED
    java.lang.AssertionError at UtilsTest.scala:48

This testHWCheckpointNoFailuresMultipleLogSegments seems have transient 
failures. I tried the same pattern 3 times and this test failed twice.







> Gradle build for Kafka
> ----------------------
>
>                 Key: KAFKA-1171
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1171
>             Project: Kafka
>          Issue Type: Improvement
>          Components: packaging
>    Affects Versions: 0.8.1, 0.9.0
>            Reporter: David Arthur
>            Assignee: David Arthur
>         Attachments: 0001-Adding-basic-Gradle-build.patch, 
> 0001-Adding-basic-Gradle-build.patch, 0001-Adding-basic-Gradle-build.patch, 
> 0001-Adding-basic-Gradle-build.patch, 0001-Adding-basic-Gradle-build.patch, 
> 0001-Adding-basic-Gradle-build.patch, kafka-1171_v6.patch, 
> kafka-1171_v7.patch, kafka-1171_v8.patch, kafka-1171_v9.patch
>
>
> We have previously discussed moving away from SBT to an 
> easier-to-comprehend-and-debug build system such as Ant or Gradle. I put up a 
> patch for an Ant+Ivy build a while ago[1], and it sounded like people wanted 
> to check out Gradle as well.
> 1. https://issues.apache.org/jira/browse/KAFKA-855



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to