You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Robert Dale (JIRA)" <ji...@apache.org> on 2016/07/05 20:01:11 UTC

[jira] [Resolved] (TINKERPOP-1358) spark-gremlin tests require special setup

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

Robert Dale resolved TINKERPOP-1358.
------------------------------------
    Resolution: Not A Bug

This appears to be a known issue with IPv6 on Spark/Hadoop. They don't officially support it.  Workaround is to set SPARK_LOCAL_IP to an IPv4 address on the local host.

> spark-gremlin tests require special setup
> -----------------------------------------
>
>                 Key: TINKERPOP-1358
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1358
>             Project: TinkerPop
>          Issue Type: Test
>          Components: hadoop
>    Affects Versions: 3.2.0-incubating
>         Environment: Linux
> No spark, hadoop installed, configured, or running.
> No spark, hadoop env vars set.
>            Reporter: Robert Dale
>              Labels: spark
>             Fix For: 3.2.1
>
>         Attachments: console.txt
>
>
> cd spark-gremlin; mvn clean install
> Most tests fail with:
> java.net.BindException: Cannot assign requested address: Service 'sparkDriver' failed after 16 retries!
>  Eventually leads to resource starvation: OutOfMemoryError: unable to create new native thread. Presumably because exceptions are not caught and SparkContexts closed.
> If tests require external server, perhaps they would be best served as integration tests.  Otherwise, there's some undocumented special sauce missing.



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