[
https://issues.apache.org/jira/browse/KAFKA-1940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daneel Yaitskov updated KAFKA-1940:
-----------------------------------
Attachment: zinc-upgrade.patch
I tried to upgrade zinc library up to 0.3.7 and the issue disappeared.
With the patch applied tests on Scala are launched successfully.
Though 4 of these tests are appeared broken. I don't know whether it's related
to the upgrade because the change Scala tests were not runnable.
{noformat}
kafka.server.LogRecoveryTest > testHWCheckpointWithFailuresMultipleLogSegments
FAILED
junit.framework.AssertionFailedError: Failed to update high watermark for
follower after timeout
at junit.framework.Assert.fail(Assert.java:47)
at kafka.utils.TestUtils$.waitUntilTrue(TestUtils.scala:619)
at
kafka.server.LogRecoveryTest.testHWCheckpointWithFailuresMultipleLogSegments(LogRecoveryTest.scala:214)
kafka.server.LogRecoveryTest > testHWCheckpointNoFailuresMultipleLogSegments
FAILED
junit.framework.AssertionFailedError: Failed to update high watermark for
follower after timeout
at junit.framework.Assert.fail(Assert.java:47)
at kafka.utils.TestUtils$.waitUntilTrue(TestUtils.scala:619)
at
kafka.server.LogRecoveryTest.testHWCheckpointNoFailuresMultipleLogSegments(LogRecoveryTest.scala:168)
{noformat}
{noformat}
kafka.producer.AsyncProducerTest > testFailedSendRetryLogic FAILED
kafka.common.FailedToSendMessageException: Failed to send messages after 3
tries.
at
kafka.producer.async.DefaultEventHandler.handle(DefaultEventHandler.scala:91)
at
kafka.producer.AsyncProducerTest.testFailedSendRetryLogic(AsyncProducerTest.scala:415)
kafka.producer.AsyncProducerTest > testQueueTimeExpired PASSED
kafka.producer.AsyncProducerTest > testNoBroker FAILED
org.scalatest.junit.JUnitTestFailedError: Should fail with
FailedToSendMessageException
at
org.scalatest.junit.AssertionsForJUnit$class.newAssertionFailedException(AssertionsForJUnit.scala:101)
at
org.scalatest.junit.JUnit3Suite.newAssertionFailedException(JUnit3Suite.scala:149)
at org.scalatest.Assertions$class.fail(Assertions.scala:711)
at org.scalatest.junit.JUnit3Suite.fail(JUnit3Suite.scala:149)
at
kafka.producer.AsyncProducerTest.testNoBroker(AsyncProducerTest.scala:300)
{noformat}
> Initial checkout and build failing
> ----------------------------------
>
> Key: KAFKA-1940
> URL: https://issues.apache.org/jira/browse/KAFKA-1940
> Project: Kafka
> Issue Type: Bug
> Components: build
> Affects Versions: 0.8.1.2
> Environment: Groovy: 1.8.6
> Ant: Apache Ant(TM) version 1.9.2 compiled on July 8 2013
> Ivy: 2.2.0
> JVM: 1.8.0_25 (Oracle Corporation 25.25-b02)
> OS: Windows 7 6.1 amd64
> Reporter: Martin Lemanski
> Labels: build
> Attachments: zinc-upgrade.patch
>
>
> when performing `gradle wrapper` and `gradlew build` as a "new" developer, I
> get an exception:
> {code}
> C:\development\git\kafka>gradlew build --stacktrace
> <...>
> FAILURE: Build failed with an exception.
> * What went wrong:
> Execution failed for task ':core:compileScala'.
> > com.typesafe.zinc.Setup.create(Lcom/typesafe/zinc/ScalaLocation;Lcom/typesafe/zinc/SbtJars;Ljava/io/File;)Lcom/typesaf
> e/zinc/Setup;
> {code}
> Details: https://gist.github.com/mlem/ddff83cc8a25b040c157
> Current Commit:
> {code}
> C:\development\git\kafka>git rev-parse --verify HEAD
> 71602de0bbf7727f498a812033027f6cbfe34eb8
> {code}
> I am evaluating kafka for my company and wanted to run some tests with it,
> but couldn't due to this error. I know gradle can be tricky and it's not easy
> to setup everything correct, but this kind of bugs turns possible
> commiters/users off.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)