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 5B2A3200B85 for ; Thu, 15 Sep 2016 13:48:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 56C98160AB7; Thu, 15 Sep 2016 11:48:22 +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 9C17C160AB5 for ; Thu, 15 Sep 2016 13:48:21 +0200 (CEST) Received: (qmail 70726 invoked by uid 500); 15 Sep 2016 11:48:20 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 70717 invoked by uid 99); 15 Sep 2016 11:48:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Sep 2016 11:48:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6CD0E2C014D for ; Thu, 15 Sep 2016 11:48:20 +0000 (UTC) Date: Thu, 15 Sep 2016 11:48:20 +0000 (UTC) From: "Vladislav Pyatkov (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (IGNITE-3138) IgniteDataStreamer: failures are not shown on the streaming side MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 15 Sep 2016 11:48:22 -0000 [ https://issues.apache.org/jira/browse/IGNITE-3138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15493082#comment-15493082 ] Vladislav Pyatkov edited comment on IGNITE-3138 at 9/15/16 11:48 AM: --------------------------------------------------------------------- I have added queue, which stores exception between flushing of a Streamer. If streamer invokes {{flush()}} (or {{close()}}) method, first exception (which have occurred a place during time when Streamer worked) will be thrown out, all other exception will poled from queue and added on the first, as a suppressed. You can set size of stored history of exceptions, using {{exceptionHistorySize}} property. was (Author: v.pyatkov): I have added queue, which stores exception between flushing of a Streamer. If streamer invokes {{flush()}} (or {{close()}}) method, first exception (which have occurred a place during time when Streamer worked) will be thrown out, all other exception will poled from queue and added on the first, as a suppressed. > IgniteDataStreamer: failures are not shown on the streaming side > ---------------------------------------------------------------- > > Key: IGNITE-3138 > URL: https://issues.apache.org/jira/browse/IGNITE-3138 > Project: Ignite > Issue Type: Bug > Reporter: Denis Magda > Assignee: Vladislav Pyatkov > Attachments: DataStreamerFailuresTest.java > > > If an exception happens during the streaming, the side that streams the data won't printed out anything in its logs even if IGNITE_QUIET set to false. > This makes it's inconvenient to see whether there an issue happened during the streaming or not. > Suggested improvements: > - print out errors that happened during the streaming on the streaming side; > - Future that is returned from {{addData}} methods is not called in case of error. This must be fixed. So that the user is able to write a custom logic around this feature and process errors somehow. -- This message was sent by Atlassian JIRA (v6.3.4#6332)