apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siyuan Hua (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (APEXMALHAR-1867) Kafka library compatibility issue
Date Wed, 02 Mar 2016 00:10:18 GMT

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

Siyuan Hua commented on APEXMALHAR-1867:
----------------------------------------

The method is using some kafka internal API that has been changed in 8.2. Please use the operator
along with kafka 8.1 library.

The dependency is clearly declared in maven.

> Kafka library compatibility issue
> ---------------------------------
>
>                 Key: APEXMALHAR-1867
>                 URL: https://issues.apache.org/jira/browse/APEXMALHAR-1867
>             Project: Apache Apex Malhar
>          Issue Type: Bug
>            Reporter: Siyuan Hua
>            Assignee: Siyuan Hua
>
> 2015-10-02 20:45:45,512 [main-EventThread] INFO  zkclient.ZkClient processStateChanged
- zookeeper state changed (SyncConnected)
> 2015-10-02 20:45:45,873 [main] ERROR stram.StreamingAppMaster main - Exiting Application
Master
> java.lang.NoSuchMethodError: kafka.cluster.Broker.getConnectionString()Ljava/lang/String;
> 	at com.datatorrent.contrib.kafka.KafkaMetadataUtil.getBrokers(KafkaMetadataUtil.java:111)
> 	at com.datatorrent.contrib.kafka.KafkaConsumer.initBrokers(KafkaConsumer.java:131)
> 	at com.datatorrent.contrib.kafka.AbstractKafkaInputOperator.definePartitions(AbstractKafkaInputOperator.java:422)
> 	at com.datatorrent.stram.plan.physical.PhysicalPlan.initPartitioning(PhysicalPlan.java:486)
> 	at com.datatorrent.stram.plan.physical.PhysicalPlan.addLogicalOperator(PhysicalPlan.java:1332)
> 	at com.datatorrent.stram.plan.physical.PhysicalPlan.<init>(PhysicalPlan.java:331)
> 	at com.datatorrent.stram.StreamingContainerManager.<init>(StreamingContainerManager.java:337)
> 	at com.datatorrent.stram.StreamingContainerManager.getInstance(StreamingContainerManager.java:2847)
> 	at com.datatorrent.stram.StreamingAppMasterService.serviceInit(StreamingAppMasterService.java:516)
> 	at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
> 	at com.datatorrent.stram.StreamingAppMaster.main(StreamingAppMaster.java:98)



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

Mime
View raw message