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 22AC0200BE0 for ; Sat, 3 Dec 2016 04:46:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 21413160B29; Sat, 3 Dec 2016 03:46:00 +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 72650160AF6 for ; Sat, 3 Dec 2016 04:45:59 +0100 (CET) Received: (qmail 8039 invoked by uid 500); 3 Dec 2016 03:45:58 -0000 Mailing-List: contact commits-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 commits@nifi.apache.org Received: (qmail 8024 invoked by uid 99); 3 Dec 2016 03:45:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Dec 2016 03:45:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7B0742C0453 for ; Sat, 3 Dec 2016 03:45:58 +0000 (UTC) Date: Sat, 3 Dec 2016 03:45:58 +0000 (UTC) From: "Aldrin Piri (JIRA)" To: commits@nifi.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (MINIFI-151) CRC not matching for Site to Site on RPi MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 03 Dec 2016 03:46:00 -0000 Aldrin Piri created MINIFI-151: ---------------------------------- Summary: CRC not matching for Site to Site on RPi Key: MINIFI-151 URL: https://issues.apache.org/jira/browse/MINIFI-151 Project: Apache NiFi MiNiFi Issue Type: Bug Components: Data Transmission Affects Versions: cpp-0.1.0 Environment: Raspberry Pi 2, Model B Raspbian Jessie Reporter: Aldrin Piri From the 0.1.0 release, a community member reported some issues on a Raspberry Pi. That thread follows: {quote} - In addition to my laptop, I compiled and ran on a Raspberry Pi 2 Model B running Raspbian Jesse, and I had the Pi connected to my laptop over ethernet... It would connect to NiFi on my laptop and send some data successfully, but then sometimes I would see this: [2016-11-30 22:32:38.635] [minifi log] [info] Site2Site Send FINISH TRANSACTION for transaction 71e57d6e-c251-4f35-ad99-3023ddf9771a [2016-11-30 22:32:38.639] [minifi log] [info] Site2Site transaction 71e57d6e-c251-4f35-ad99-3023ddf9771a peer confirm transaction with CRC 3404584822 [2016-11-30 22:32:38.639] [minifi log] [info] Site2Site transaction 71e57d6e-c251-4f35-ad99-3023ddf9771a CRC not matched -890382474 [2016-11-30 22:32:38.639] [minifi log] [info] Site2Site delete transaction 71e57d6e-c251-4f35-ad99-3023ddf9771a Then at the same time in the NiFi logs I would see this: 2016-11-30 17:38:50,162 INFO [Site-to-Site Worker Thread-67] o.a.nifi.remote.SocketRemoteSiteListener Successfully negotiated ServerProtocol SocketFlowFileProtocol Version 5 with Peer[url=nifi://raspberrypi.local:35510]2016-11-30 17:38:50,289 ERROR [Site-to-Site Worker Thread-67] o.a.nifi.remote.SocketRemoteSiteListener Unable to communicate with remote instance Peer[url=nifi://raspberrypi.local:35510] (SocketFlowFileServerProtocol[CommsID=77842d17-b31d-4601-9f0d-38fd0b2fc7cc]) due to org.apache.nifi.processor.exception.ProcessException: java.io.IOException: SocketFlowFileServerProtocol[CommsID=77842d17-b31d-4601-9f0d-38fd0b2fc7cc] Received a BadChecksum response from peer Peer[url=nifi://raspberrypi.local:35510]; closing connection Once it got into this state I would have to restart the process, and sometimes this would even happen on the first file I tried to send through. It is most likely something in my environment since everything worked fine when it was local on my laptop, and I believe Koji and maybe a few others ran on a Raspberry Pi as well, but I thought I would mention it in case it turns out to be an actual issue. {quote} -- This message was sent by Atlassian JIRA (v6.3.4#6332)