Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka >> mail # dev >> KAFKA-134 - current sbt 0.11.3


Copy link to this message
-
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 sc