spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Williams (JIRA)" <>
Subject [jira] [Commented] (SPARK-4002) JavaKafkaStreamSuite.testKafkaStream fails on OSX
Date Thu, 23 Oct 2014 04:14:34 GMT


Ryan Williams commented on SPARK-4002:

[~jerryshao] cool, a couple of notes:
* If you're still running on Linux it is suspected that you're not going to see this issue
even if you do run {{JavaKafkaStreamSuite}}
* I guess I was confused about whether the problem lay in {{KafkaStreamSuite}} or {{JavaKafkaStreamSuite}};
looking at this again, it is clearly the "Kafka input stream" case in {{KafkaStreamSuite}}
that is failing, in particular on [line 135|].
** [Here|] is the stdout I get about
the failure when running {{mvn test -Dsuites='*KafkaStreamSuite'}}
** [Here|] is more recent stdout
(with a screengrab) I get about the failure when running {{./dev/run-tests}}.
*** Notice the error is somehow reprinted as coming from {{JavaKafkaStreamSuite}}, hence my
** In any case, I'll try to edit this issue to reflect that the problem seems to be coming
from the "Kafka input stream" case of {{KafkaStreamSuite}}.

[~advancedxy] good suggestion! Unfortunately my hostname (as output by the BSD {{hostname}}
utility on my macbook) is {{mbp.local}}, so unless the {{.}} is illegal then I'm not sure
that's the cause of my trouble.

Finally, I'm attaching my unit-tests.log to this issue! It's also [here|].
Let me know if that tells you anything! I don't know what to look for in there and didn't
see anything that related.

> JavaKafkaStreamSuite.testKafkaStream fails on OSX
> -------------------------------------------------
>                 Key: SPARK-4002
>                 URL:
>             Project: Spark
>          Issue Type: Bug
>          Components: Streaming
>         Environment: Mac OSX 10.9.5.
>            Reporter: Ryan Williams
> [~sowen] mentioned this on spark-dev [here|]
and I just reproduced it on {{master}} ([7e63bb4|]).
> The relevant output I get when running {{./dev/run-tests}} is:
> {code}
> [info] KafkaStreamSuite:
> [info] - Kafka input stream
> [info] Test run started
> [info] Test org.apache.spark.streaming.kafka.JavaKafkaStreamSuite.testKafkaStream started
> [error] Test org.apache.spark.streaming.kafka.JavaKafkaStreamSuite.testKafkaStream failed:
junit.framework.AssertionFailedError: expected:<3> but was:<0>
> [error]     at
> [error]     at junit.framework.Assert.failNotEquals(
> [error]     at junit.framework.Assert.assertEquals(
> [error]     at junit.framework.Assert.assertEquals(
> [error]     at junit.framework.Assert.assertEquals(
> [error]     at org.apache.spark.streaming.kafka.JavaKafkaStreamSuite.testKafkaStream(
> [error]     ...
> [info] Test run finished: 1 failed, 0 ignored, 1 total, 19.798s
> {code}
> Seems like this test should be {{@Ignore}}'d, or some note about this made on the {{}}.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message