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

Ryan Williams commented on SPARK-4002:
--------------------------------------

Hey Saisai, my last post mentioned that I'd built spark from SHA 
[7e63bb4|https://github.com/apache/spark/commit/7e63bb49c526c3f872619ae14e4b5273f4c535e9],
 which was the top of {{master}} as of yesterday evening, and whose nearest 
ancestor release is {{1.1.0}}.

[Sean's email that I linked 
to|http://mail-archives.apache.org/mod_mbox/spark-dev/201409.mbox/%3ccamassdjs0fmsdc-k-4orgbhbfz2vvrmm0hfyifeeal-spft...@mail.gmail.com%3E]
 specifies that the issue seems to happen on OSX but not Linux.

I did see that you [recently changed 
{{JavaKafkaStreamSuite}}|https://github.com/apache/spark/commit/74fb2ecf7afc2d314f6477f8f2e6134614387453#diff-7103fa13801c78d95cd7fca31cd5703e],
 but nothing in that change jumped out at me as likely being related to this 
issue.

I'll try to run {{JavaKafkaStreamSuite}} by itself in a bit and bisect it to a 
certain commit, but wanted to at least get a placeholder for this issue filed 
since it tripped me up yesterday and I was apparently not the first one to hit 
it.

> JavaKafkaStreamSuite.testKafkaStream fails on OSX
> -------------------------------------------------
>
>                 Key: SPARK-4002
>                 URL: https://issues.apache.org/jira/browse/SPARK-4002
>             Project: Spark
>          Issue Type: Bug
>         Environment: Mac OSX 10.9.5.
>            Reporter: Ryan Williams
>
> [~sowen] mentioned this on spark-dev 
> [here|http://mail-archives.apache.org/mod_mbox/spark-dev/201409.mbox/%3ccamassdjs0fmsdc-k-4orgbhbfz2vvrmm0hfyifeeal-spft...@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
> [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, 19.798s
> {code}
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to