Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 64A89200CFE for ; Fri, 8 Sep 2017 18:18:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 63C591609BD; Fri, 8 Sep 2017 16:18:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 49BDA1609C0 for ; Fri, 8 Sep 2017 18:18:06 +0200 (CEST) Received: (qmail 15153 invoked by uid 500); 8 Sep 2017 16:18:05 -0000 Mailing-List: contact issues-help@nifi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nifi.apache.org Delivered-To: mailing list issues@nifi.apache.org Received: (qmail 15111 invoked by uid 99); 8 Sep 2017 16:18:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Sep 2017 16:18:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 49E9318FEBA for ; Fri, 8 Sep 2017 16:18:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id r3Y_PFvqjdEA for ; Fri, 8 Sep 2017 16:18:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 5A61560D9C for ; Fri, 8 Sep 2017 16:18:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 5BDE8E0ECD for ; Fri, 8 Sep 2017 16:18:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 9C4F524157 for ; Fri, 8 Sep 2017 16:18:00 +0000 (UTC) Date: Fri, 8 Sep 2017 16:18:00 +0000 (UTC) From: "Daniel (JIRA)" To: issues@nifi.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (NIFI-4260) ExecuteFlumeSink not working with Sink Type "avro". MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 08 Sep 2017 16:18:07 -0000 [ https://issues.apache.org/jira/browse/NIFI-4260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16158821#comment-16158821 ] Daniel edited comment on NIFI-4260 at 9/8/17 4:17 PM: ------------------------------------------------------ can you please upload the modified *nifi-flume-nar-1.3.0.nar* and the *nifi-flume-nar-1.2.0.3.0.1.0-43.nar* as a quick-fix for us? was (Author: dash42): can you please upload the modified *nifi-flume-nar-1.3.0.nar *and the *nifi-flume-nar-1.2.0.3.0.1.0-43.nar *as a quick-fix for us? > ExecuteFlumeSink not working with Sink Type "avro". > --------------------------------------------------- > > Key: NIFI-4260 > URL: https://issues.apache.org/jira/browse/NIFI-4260 > Project: Apache NiFi > Issue Type: Bug > Components: Extensions > Affects Versions: 1.2.0, 1.3.0 > Reporter: Sebastian Schlitte > > After upgrading NiFi from 1.1.2 to 1.2.0, ExecuteFlumeSink with sink type "avro" stops transmitting data and throws the error quoted below. The problem persists after upgrading to 1.3.0. > Replacing avro-ipc-1.7.4.jar with avro-ipc-1.8.1.jar in nifi-flume-nar-1.3.0.nar solves the issue. > {{2017-08-02 10:28:51,142 ERROR [Timer-Driven Process Thread-6] o.a.n.processors.flume.ExecuteFlumeSink ExecuteFlumeSink[id=98da368f-015d-1000-ffff-ffff9 > 6768472] ExecuteFlumeSink[id=98da368f-015d-1000-ffff-ffff96768472] failed to process due to org.apache.nifi.processor.exception.ProcessException: Flume > event delivery failed; rolling back session: {} > org.apache.nifi.processor.exception.ProcessException: Flume event delivery failed > at org.apache.nifi.processors.flume.ExecuteFlumeSink.onTrigger(ExecuteFlumeSink.java:145) > at org.apache.nifi.processors.flume.AbstractFlumeProcessor.onTrigger(AbstractFlumeProcessor.java:148) > at org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1118) > at org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:144) > at org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:47) > at org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:132) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > at java.lang.Thread.run(Thread.java:748) > Caused by: org.apache.flume.EventDeliveryException: Failed to send events > at org.apache.flume.sink.AbstractRpcSink.process(AbstractRpcSink.java:392) > at org.apache.nifi.processors.flume.ExecuteFlumeSink.onTrigger(ExecuteFlumeSink.java:143) > ... 12 common frames omitted > Caused by: org.apache.flume.EventDeliveryException: NettyAvroRpcClient { host: target.linux.dummy, port: 14100 }: Failed to send batch > at org.apache.flume.api.NettyAvroRpcClient.appendBatch(NettyAvroRpcClient.java:315) > at org.apache.flume.sink.AbstractRpcSink.process(AbstractRpcSink.java:376) > ... 13 common frames omitted > Caused by: org.apache.flume.EventDeliveryException: NettyAvroRpcClient { host: target.linux.dummy, port: 14100 }: RPC request exception > at org.apache.flume.api.NettyAvroRpcClient.appendBatch(NettyAvroRpcClient.java:365) > at org.apache.flume.api.NettyAvroRpcClient.appendBatch(NettyAvroRpcClient.java:303) > ... 14 common frames omitted > Caused by: java.util.concurrent.ExecutionException: java.lang.AbstractMethodError: org.apache.avro.specific.SpecificFixed.getSchema()Lorg/apache/avro/S > chema; > at java.util.concurrent.FutureTask.report(FutureTask.java:122) > at java.util.concurrent.FutureTask.get(FutureTask.java:206) > at org.apache.flume.api.NettyAvroRpcClient.appendBatch(NettyAvroRpcClient.java:357) > ... 15 common frames omitted > Caused by: java.lang.AbstractMethodError: org.apache.avro.specific.SpecificFixed.getSchema()Lorg/apache/avro/Schema; > at org.apache.avro.specific.SpecificFixed.(SpecificFixed.java:36) > at org.apache.avro.ipc.MD5.(MD5.java:16) > at org.apache.avro.ipc.Requestor.writeHandshake(Requestor.java:200) > at org.apache.avro.ipc.Requestor.access$300(Requestor.java:52) > at org.apache.avro.ipc.Requestor$Request.getBytes(Requestor.java:478) > at org.apache.avro.ipc.Requestor.request(Requestor.java:147) > at org.apache.avro.ipc.Requestor.request(Requestor.java:129) > at org.apache.avro.ipc.specific.SpecificRequestor.invoke(SpecificRequestor.java:84) > at com.sun.proxy.$Proxy124.appendBatch(Unknown Source) > at org.apache.flume.api.NettyAvroRpcClient$2.call(NettyAvroRpcClient.java:348) > at org.apache.flume.api.NettyAvroRpcClient$2.call(NettyAvroRpcClient.java:344) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > ... 3 common frames omitted}} -- This message was sent by Atlassian JIRA (v6.4.14#64029)