You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by Joe Stein <cr...@gmail.com> on 2012/05/15 06:26:16 UTC

KAFKA-134 - current sbt 0.11.3

JIRA seems broken... i keep getting an error when trying to upload a file
attachment I am guessing it is from the maintenance done today there is
more tomorrow so maybe it will get fixed (though it was not on the list)

anyways, the issue I wrote about in the JIRA
https://issues.apache.org/jira/browse/KAFKA-134?focusedCommentId=13275122&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13275122


I have updated a new patch v3 https://gist.github.com/2699027 (passing it
here will try to upload it tomorrow)

I checked it works with SBT 0.11.3
http://typesafe.artifactoryonline.com/typesafe/ivy-releases/org.scala-sbt/sbt-launch/0.11.3/sbt-launch.jar

One issue I still have though... now that it is all compiling and updating
and everything... is that the tests are not even running (anyone have any
ideas? tired right now will take a look tomorrow again at this)

once I can upload to JIRA again I will post my patch and put wherever I am
or if still here where here is

Josephs-MacBook-Pro:kafka_134 josephstein$ ./sbt test
[warn] Using project/plugins/ is deprecated for plugin configuration
(/opt/apache/kafka_134/project/plugins).
[warn] Put .sbt plugin definitions directly in project/,
[warn]   .scala plugin definitions in project/project/,
[warn]   and remove the project/plugins/ directory.
[info] Loading project definition from /opt/apache/kafka_134/project/plugins
[info] Set current project to root (in build file:/opt/apache/kafka_134/)
[info] No tests to run for root/test:test
[info] No tests to run for contrib/test:test
[info] Compiling 45 Scala sources to
/opt/apache/kafka_134/core/target/scala-2.9.1/test-classes...
[info] No tests to run for perf/test:test
[info] No tests to run for examples/test:test
[info] No tests to run for hadoop-consumer/test:test
[info] No tests to run for hadoop-producer/test:test
[warn] there were 16 deprecation warnings; re-run with -deprecation for
details
[warn] one warning found
[error] Could not run test kafka.message.ByteBufferMessageSetTest:
java.lang.ClassCastException: scala.collection.immutable.Set$EmptySet$
cannot be cast to scala.collection.generic.Addable
[error] Could not run test kafka.log.LogCorruptionTest:
java.lang.ClassCastException: scala.collection.immutable.Set$EmptySet$
cannot be cast to scala.collection.generic.Addable
[error] Could not run test kafka.integration.AutoOffsetResetTest:
java.lang.ClassCastException: scala.collection.immutable.Set$EmptySet$
cannot be cast to scala.collection.generic.Addable
[error] Could not run test kafka.message.CompressionUtilTest:
java.lang.ClassCastException: scala.collection.immutable.Set$EmptySet$
cannot be cast to scala.collection.generic.Addable
[error] Could not run test kafka.integration.BackwardsCompatibilityTest:
java.lang.ClassCastException: scala.collection.immutable.Set$EmptySet$
cannot be cast to scala.collection.generic.Addable
[error] Could not run test kafka.consumer.ZookeeperConsumerConnectorTest:
java.lang.ClassCastException: scala.collection.immutable.Set$EmptySet$
cannot be cast to scala.collection.generic.Addable
[error] Could not run test kafka.producer.AsyncProducerTest:
java.lang.ClassCastException: scala.collection.immutable.Set$EmptySet$
cannot be cast to scala.collection.generic.Addable
[error] Could not run test kafka.consumer.TopicFilterTest:
java.lang.ClassCastException: scala.collection.immutable.Set$EmptySet$
cannot be cast to scala.collection.generic.Addable
[error] Could not run test kafka.zk.ZKLoadBalanceTest:
java.lang.ClassCastException: scala.collection.immutable.Set$EmptySet$
cannot be cast to scala.collection.generic.Addable
[error] Could not run test kafka.message.MessageTest:
java.lang.ClassCastException: scala.collection.immutable.Set$EmptySet$
cannot be cast to scala.collection.generic.Addable
[error] Could not run test kafka.message.FileMessageSetTest:
java.lang.ClassCastException: scala.collection.immutable.Set$EmptySet$
cannot be cast to scala.collection.generic.Addable
[error] Could not run test kafka.log.SegmentListTest:
java.lang.ClassCastException: scala.collection.immutable.Set$EmptySet$
cannot be cast to scala.collection.generic.Addable
[error] Could not run test kafka.log.LogOffsetTest:
java.lang.ClassCastException: scala.collection.immutable.Set$EmptySet$
cannot be cast to scala.collection.generic.Addable
[error] Could not run test kafka.utils.UtilsTest:
java.lang.ClassCastException: scala.collection.immutable.Set$EmptySet$
cannot be cast to scala.collection.generic.Addable
[error] Could not run test kafka.producer.SyncProducerTest:
java.lang.ClassCastException: scala.collection.immutable.Set$EmptySet$
cannot be cast to scala.collection.generic.Addable
[error] Could not run test kafka.javaapi.integration.PrimitiveApiTest:
java.lang.ClassCastException: scala.collection.immutable.Set$EmptySet$
cannot be cast to scala.collection.generic.Addable
[error] Could not run test unit.kafka.producer.ProducerMethodsTest:
java.lang.ClassCastException: scala.collection.immutable.Set$EmptySet$
cannot be cast to scala.collection.generic.Addable
[error] Could not run test
kafka.javaapi.consumer.ZookeeperConsumerConnectorTest:
java.lang.ClassCastException: scala.collection.immutable.Set$EmptySet$
cannot be cast to scala.collection.generic.Addable
[error] Could not run test kafka.javaapi.producer.SyncProducerTest:
java.lang.ClassCastException: scala.collection.immutable.Set$EmptySet$
cannot be cast to scala.collection.generic.Addable
[error] Could not run test kafka.consumer.FetcherTest:
java.lang.ClassCastException: scala.collection.immutable.Set$EmptySet$
cannot be cast to scala.collection.generic.Addable
[error] Could not run test kafka.log4j.KafkaLog4jAppenderTest:
java.lang.ClassCastException: scala.collection.immutable.Set$EmptySet$
cannot be cast to scala.collection.generic.Addable
[error] Could not run test kafka.integration.LazyInitProducerTest:
java.lang.ClassCastException: scala.collection.immutable.Set$EmptySet$
cannot be cast to scala.collection.generic.Addable
[error] Could not run test kafka.network.SocketServerTest:
java.lang.ClassCastException: scala.collection.immutable.Set$EmptySet$
cannot be cast to scala.collection.generic.Addable
[error] Could not run test kafka.log.LogManagerTest:
java.lang.ClassCastException: scala.collection.immutable.Set$EmptySet$
cannot be cast to scala.collection.generic.Addable
[error] Could not run test kafka.integration.PrimitiveApiTest:
java.lang.ClassCastException: scala.collection.immutable.Set$EmptySet$
cannot be cast to scala.collection.generic.Addable
[error] Could not run test kafka.zk.ZKEphemeralTest:
java.lang.ClassCastException: scala.collection.immutable.Set$EmptySet$
cannot be cast to scala.collection.generic.Addable
[error] Could not run test kafka.server.ServerShutdownTest:
java.lang.ClassCastException: scala.collection.immutable.Set$EmptySet$
cannot be cast to scala.collection.generic.Addable
[error] Could not run test kafka.log.LogTest: java.lang.ClassCastException:
scala.collection.immutable.Set$EmptySet$ cannot be cast to
scala.collection.generic.Addable
[error] Could not run test kafka.javaapi.message.ByteBufferMessageSetTest:
java.lang.ClassCastException: scala.collection.immutable.Set$EmptySet$
cannot be cast to scala.collection.generic.Addable
[error] Could not run test kafka.javaapi.producer.ProducerTest:
java.lang.ClassCastException: scala.collection.immutable.Set$EmptySet$
cannot be cast to scala.collection.generic.Addable
[error] Could not run test kafka.producer.ProducerTest:
java.lang.ClassCastException: scala.collection.immutable.Set$EmptySet$
cannot be cast to scala.collection.generic.Addable
[error] Error: Total 0, Failed 0, Errors 0, Passed 0, Skipped 0
[error] Error during tests:
[error] kafka.log.LogManagerTest
[error] kafka.log.LogTest
[error] kafka.consumer.FetcherTest
[error] kafka.integration.AutoOffsetResetTest
[error] unit.kafka.producer.ProducerMethodsTest
[error] kafka.javaapi.integration.PrimitiveApiTest
[error] kafka.message.MessageTest
[error] kafka.producer.ProducerTest
[error] kafka.zk.ZKLoadBalanceTest
[error] kafka.network.SocketServerTest
[error] kafka.message.FileMessageSetTest
[error] kafka.javaapi.producer.SyncProducerTest
[error] kafka.javaapi.producer.ProducerTest
[error] kafka.javaapi.consumer.ZookeeperConsumerConnectorTest
[error] kafka.zk.ZKEphemeralTest
[error] kafka.log.LogCorruptionTest
[error] kafka.integration.LazyInitProducerTest
[error] kafka.log.SegmentListTest
[error] kafka.consumer.TopicFilterTest
[error] kafka.consumer.ZookeeperConsumerConnectorTest
[error] kafka.producer.AsyncProducerTest
[error] kafka.log4j.KafkaLog4jAppenderTest
[error] kafka.message.ByteBufferMessageSetTest
[error] kafka.server.ServerShutdownTest
[error] kafka.message.CompressionUtilTest
[error] kafka.log.LogOffsetTest
[error] kafka.javaapi.message.ByteBufferMessageSetTest
[error] kafka.integration.BackwardsCompatibilityTest
[error] kafka.integration.PrimitiveApiTest
[error] kafka.utils.UtilsTest
[error] kafka.producer.SyncProducerTest
[error] {file:/opt/apache/kafka_134/}core/test:test: Tests unsuccessful
[error] Total time: 31 s, completed May 15, 2012 12:05:45 AM

lastly going to update the ticket description to 11.3 SBT 10 is not only
old but had issues finding builds for it

/*
Joe Stein
http://www.linkedin.com/in/charmalloc
Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop>
*/