Shixiong Zhu created SPARK-11790:
------------------------------------

             Summary: Flaky test:  
KafkaStreamTests.test_kafka_direct_stream_foreach_get_offsetRanges
                 Key: SPARK-11790
                 URL: https://issues.apache.org/jira/browse/SPARK-11790
             Project: Spark
          Issue Type: Bug
          Components: PySpark, Streaming, Tests
            Reporter: Shixiong Zhu


Jenkins link: 
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/46041/consoleFull
{code}
======================================================================
ERROR: test_kafka_direct_stream_foreach_get_offsetRanges 
(__main__.KafkaStreamTests)
Test the Python direct Kafka stream foreachRDD get offsetRanges.
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/jenkins/workspace/SparkPullRequestBuilder/python/pyspark/streaming/tests.py",
 line 876, in setUp
    self._kafkaTestUtils.setup()
  File 
"/home/jenkins/workspace/SparkPullRequestBuilder/python/lib/py4j-0.9-src.zip/py4j/java_gateway.py",
 line 813, in __call__
    answer, self.gateway_client, self.target_id, self.name)
  File 
"/home/jenkins/workspace/SparkPullRequestBuilder/python/lib/py4j-0.9-src.zip/py4j/protocol.py",
 line 308, in get_return_value
    format(target_id, ".", name), value)
Py4JJavaError: An error occurred while calling o11914.setup.
: org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to 
zookeeper server within timeout: 6000
        at org.I0Itec.zkclient.ZkClient.connect(ZkClient.java:880)
        at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:98)
        at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:84)
        at 
org.apache.spark.streaming.kafka.KafkaTestUtils.setupEmbeddedZookeeper(KafkaTestUtils.scala:99)
        at 
org.apache.spark.streaming.kafka.KafkaTestUtils.setup(KafkaTestUtils.scala:122)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:231)
        at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:381)
        at py4j.Gateway.invoke(Gateway.java:259)
        at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:133)
        at py4j.commands.CallCommand.execute(CallCommand.java:79)
        at py4j.GatewayConnection.run(GatewayConnection.java:209)
        at java.lang.Thread.run(Thread.java:745)

{code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to