flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Su Ralph (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-6126) Yet another conflict : guava
Date Mon, 20 Mar 2017 11:54:42 GMT

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

Su Ralph commented on FLINK-6126:
---------------------------------

Resolve as not an issue.

> Yet another conflict : guava
> ----------------------------
>
>                 Key: FLINK-6126
>                 URL: https://issues.apache.org/jira/browse/FLINK-6126
>             Project: Flink
>          Issue Type: Bug
>          Components: Build System, Local Runtime
>    Affects Versions: 1.2.0
>         Environment: Latest SNAPSHOT
>            Reporter: Su Ralph
>
> When write a user function try to write to elastic search (depend on elasticsearch 2.3.5)
> Stack like:
> java.lang.NoSuchMethodError: com.google.common.util.concurrent.MoreExecutors.directExecutor()Ljava/util/concurrent/Executor;
>         at org.elasticsearch.threadpool.ThreadPool.<clinit>(ThreadPool.java:190)
>         at org.elasticsearch.client.transport.TransportClient$Builder.build(TransportClient.java:131)
>         at io.sherlock.capabilities.es.AbstractEsSink.open(AbstractEsSink.java:98)
> When enable env.java.opts.taskmanager to -version:class, we can see the class load log
like:
> [Loaded com.google.common.util.concurrent.MoreExecutors from file:/opt/flink/lib/flink-dist_2.11-1.2.0.jar]
> The user code is using guva of 18.0.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message