You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2014/11/26 10:41:13 UTC

[jira] [Resolved] (SPARK-4002) KafkaStreamSuite "Kafka input stream" case fails on OSX

     [ https://issues.apache.org/jira/browse/SPARK-4002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Owen resolved SPARK-4002.
------------------------------
    Resolution: Cannot Reproduce

Yes I haven't seen this in a while so let's mark it CannotReproduce

> KafkaStreamSuite "Kafka input stream" case fails on OSX
> -------------------------------------------------------
>
>                 Key: SPARK-4002
>                 URL: https://issues.apache.org/jira/browse/SPARK-4002
>             Project: Spark
>          Issue Type: Bug
>          Components: Streaming
>         Environment: Mac OSX 10.9.5.
>            Reporter: Ryan Williams
>         Attachments: unit-tests.log
>
>
> [~sowen] mentioned this on spark-dev [here|http://mail-archives.apache.org/mod_mbox/spark-dev/201409.mbox/%3CCAMAsSdJs0fMsdc-K-4orgBhBfz2VvrMM0HFyifEeaL-SpFtPKQ@mail.gmail.com%3E] and I just reproduced it on {{master}} ([7e63bb4|https://github.com/apache/spark/commit/7e63bb49c526c3f872619ae14e4b5273f4c535e9]).
> The relevant output I get when running {{./dev/run-tests}} is:
> {code}
> [info] KafkaStreamSuite:
> [info] - Kafka input stream *** FAILED ***
> [info]   3 did not equal 0 (KafkaStreamSuite.scala:135)
> [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 junit.framework.Assert.fail(Assert.java:50)
> [error]     at junit.framework.Assert.failNotEquals(Assert.java:287)
> [error]     at junit.framework.Assert.assertEquals(Assert.java:67)
> [error]     at junit.framework.Assert.assertEquals(Assert.java:199)
> [error]     at junit.framework.Assert.assertEquals(Assert.java:205)
> [error]     at org.apache.spark.streaming.kafka.JavaKafkaStreamSuite.testKafkaStream(JavaKafkaStreamSuite.java:129)
> [error]     ...
> [info] Test run finished: 1 failed, 0 ignored, 1 total, 14.451s
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128M; support was removed in 8.0
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=1g; support was removed in 8.0
> [info] ScalaTest
> [info] Run completed in 11 minutes, 39 seconds.
> [info] Total number of tests run: 1
> [info] Suites: completed 1, aborted 0
> [info] Tests: succeeded 0, failed 1, canceled 0, ignored 0, pending 0
> [info] *** 1 TEST FAILED ***
> [error] Failed: Total 2, Failed 2, Errors 0, Passed 0
> [error] Failed tests:
> [error] 	org.apache.spark.streaming.kafka.JavaKafkaStreamSuite
> [error] 	org.apache.spark.streaming.kafka.KafkaStreamSuite
> {code}
> This simplest command I know that reproduces this test failure is:
> {code}
> mvn test -Dsuites='*KafkaStreamSuite'
> {code}
> Often I have to {{mvn clean}} before or as part of running that command, otherwise I get other spurious compile errors or crashes, but that is another story.
> Seems like this test should be {{@Ignore}}'d, or some note about this made on the {{README.md}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org