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

Chris Riccomini commented on SAMZA-224:
---------------------------------------

In the failed log, I see a ton of this error:

{noformat}
2014-04-09 13:13:45 SimpleConsumer [WARN] Reconnect due to socket error: null
2014-04-09 13:13:45 ReplicaFetcherThread [ERROR] [ReplicaFetcherThread-0-1], 
Error in fetch Name: FetchRequest; Version: 0; CorrelationId: 1210; ClientId: 
ReplicaFetcherThread-0-1; ReplicaId: 2; MaxWait: 500 ms; MinBytes: 1 bytes; 
RequestInfo: [mystore,0] -> PartitionFetchInfo(0,1048576),[input,0] -> 
PartitionFetchInfo(1,1048576)
java.lang.IllegalArgumentException
        at java.nio.Buffer.limit(Buffer.java:247)
        at 
kafka.api.FetchResponsePartitionData$.readFrom(FetchResponse.scala:33)
        at kafka.api.TopicData$$anonfun$1.apply(FetchResponse.scala:83)
        at kafka.api.TopicData$$anonfun$1.apply(FetchResponse.scala:81)
        at 
scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
        at 
scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
        at scala.collection.immutable.Range.foreach(Range.scala:141)
        at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
        at scala.collection.AbstractTraversable.map(Traversable.scala:105)
        at kafka.api.TopicData$.readFrom(FetchResponse.scala:81)
        at kafka.api.FetchResponse$$anonfun$3.apply(FetchResponse.scala:142)
        at kafka.api.FetchResponse$$anonfun$3.apply(FetchResponse.scala:141)
        at 
scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
        at 
scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
        at scala.collection.immutable.Range.foreach(Range.scala:141)
        at 
scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
        at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
        at kafka.api.FetchResponse$.readFrom(FetchResponse.scala:141)
        at kafka.consumer.SimpleConsumer.fetch(SimpleConsumer.scala:112)
        at 
kafka.server.AbstractFetcherThread.processFetchRequest(AbstractFetcherThread.scala:96)
        at 
kafka.server.AbstractFetcherThread.doWork(AbstractFetcherThread.scala:88)
        at kafka.utils.ShutdownableThread.run(ShutdownableThread.scala:51)
{noformat}

In successful logs, I don't. It almost seems like the Kafka broker isn't coming 
up.

[~nehanarkhede], [~joelk111] what exactly does this exception mean?

> TestStatefulTask.testShouldStartAndRestore fails intermittently
> ---------------------------------------------------------------
>
>                 Key: SAMZA-224
>                 URL: https://issues.apache.org/jira/browse/SAMZA-224
>             Project: Samza
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.6.0
>            Reporter: Martin Kleppmann
>             Fix For: 0.7.0
>
>
> [~closeuris] reported the following issue on SAMZA-185. I'm now 
> intermittently seeing this problem too, so I'm opening a new issue for it (as 
> I'm not sure the issue has anything to do with the Kafka 0.8.1 upgrade).
> {noformat}
> org.apache.samza.test.integration.TestStatefulTask > 
> testShouldStartAndRestore FAILED
>     java.lang.AssertionError at TestStatefulTask.scala:356
> 2 tests completed, 1 failed
> :samza-test_2.10:test FAILED
> {noformat}
> Logs provided by Yan (mine look similar):
> Failed tests: http://pastebin.com/3nEDw9jC
> Standard output: http://pastebin.com/20vZbk7c
> Standard error: http://pastebin.com/gU6cTNAr



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to