flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Ewen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-3287) Flink Kafka Consumer fails due to Curator version conflict
Date Mon, 25 Jan 2016 15:05:39 GMT

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

Stephan Ewen commented on FLINK-3287:
-------------------------------------

So, we need to shade curator into the kafka-connector jars?

> Flink Kafka Consumer fails due to Curator version conflict
> ----------------------------------------------------------
>
>                 Key: FLINK-3287
>                 URL: https://issues.apache.org/jira/browse/FLINK-3287
>             Project: Flink
>          Issue Type: Bug
>          Components: Kafka Connector
>    Affects Versions: 1.0.0
>         Environment: HDP version 2.2.9.0-3393
>            Reporter: Robert Metzger
>            Assignee: Robert Metzger
>
> {code}
> 14:32:38,542 INFO  org.apache.flink.yarn.YarnJobManager                          - Status
of job 8eb92c1e3a1c050ecaccd50c6298ac7a (Flink Streaming Job) changed to FAILING.
> java.lang.NoSuchMethodError: org.apache.curator.utils.ZKPaths.fixForNamespace(Ljava/lang/String;Ljava/lang/String;Z)Ljava/lang/String;
>     at org.apache.curator.framework.imps.NamespaceImpl.fixForNamespace(NamespaceImpl.java:82)
>     at org.apache.curator.framework.imps.NamespaceImpl.newNamespaceAwareEnsurePath(NamespaceImpl.java:87)
>     at org.apache.curator.framework.imps.CuratorFrameworkImpl.newNamespaceAwareEnsurePath(CuratorFrameworkImpl.java:457)
>     at org.apache.flink.streaming.connectors.kafka.internals.ZookeeperOffsetHandler.getOffsetFromZooKeeper(ZookeeperOffsetHandler.java:122)
>     at org.apache.flink.streaming.connectors.kafka.internals.ZookeeperOffsetHandler.seekFetcherToInitialOffsets(ZookeeperOffsetHandler.java:90)
>     at org.apache.flink.streaming.connectors.kafka.FlinkKafkaConsumer.open(FlinkKafkaConsumer.java:401)
>     at org.apache.flink.api.common.functions.util.FunctionUtils.openFunction(FunctionUtils.java:36)
>     at org.apache.flink.streaming.api.operators.AbstractUdfStreamOperator.open(AbstractUdfStreamOperator.java:89)
>     at org.apache.flink.streaming.runtime.tasks.StreamTask.openAllOperators(StreamTask.java:305)
>     at org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:227)
>     at org.apache.flink.runtime.taskmanager.Task.run(Task.java:567)
>     at java.lang.Thread.run(Thread.java:745)
> {code}
> This flink snapshot version was built from master commit c7ada8d785087e0209071a8219ff841006b96639



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

Mime
View raw message