[
https://issues.apache.org/jira/browse/SAMZA-185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13955771#comment-13955771
]
Chris Riccomini commented on SAMZA-185:
---------------------------------------
Hmm. The latest paste you put in looks like the test passed. Those exceptions
are expected and non-fatal. You certainly got farther than you did with your
gradle test. The last line in your gradle test was:
{noformat}
5420 [ThreadJob] INFO org.apache.samza.system.kafka.KafkaSystemProducer -
Creating a new producer for system kafka.
{noformat}
Whereas in your debug test, the test task prints the messages that it read (as
expected):
{noformat}
TestTask.process(): 1
TestTask.process(): 2
TestTask.process(): 3
TestTask.process(): 2
TestTask.process(): 99
TestTask.process(): -99
{noformat}
The problem in the gradle test that you're seeing fail is that the task doesn't
appear to be receiving these messages, and is timing out as a result.
I am really trying to reproduce this, but I can't. The stdout/stderr logs you
sent aren't showing much either. I compared the logs from a successful run I
had against yours, and they look almost identical.
> Upgrade Samza to Kafka 0.8.1
> ----------------------------
>
> Key: SAMZA-185
> URL: https://issues.apache.org/jira/browse/SAMZA-185
> Project: Samza
> Issue Type: Bug
> Components: build
> Affects Versions: 0.7.0
> Reporter: Chris Riccomini
> Labels: easyfix
> Attachments: SAMZA-185.1.patch, SAMZA-185.patch
>
>
> We should upgrade Kafka to 0.8.1. This involves:
> 1. Switch to using Kafka's maven dependencies
> (http://repo.maven.apache.org/maven2/org/apache//kafka/kafka_2.10/0.8.1/)
> instead of checking in JARs.
> 2. Upgrade build.gradle and gradle dependency versions to depend on 0.8.1.
> 3. Update index.md in docs to no longer say "It depends on a snapshot version
> of Kafka that will not officially be released for a few months."
--
This message was sent by Atlassian JIRA
(v6.2#6252)