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 2B515200B67 for ; Tue, 16 Aug 2016 11:03:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 29DD7160AA8; Tue, 16 Aug 2016 09:03: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 71E13160A76 for ; Tue, 16 Aug 2016 11:03:21 +0200 (CEST) Received: (qmail 48735 invoked by uid 500); 16 Aug 2016 09:03: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 48724 invoked by uid 99); 16 Aug 2016 09:03:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Aug 2016 09:03:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8F6B02C02A7 for ; Tue, 16 Aug 2016 09:03:20 +0000 (UTC) Date: Tue, 16 Aug 2016 09:03: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: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 16 Aug 2016 09:03:22 -0000 [ https://issues.apache.org/jira/browse/IGNITE-3138?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D154= 22381#comment-15422381 ]=20 Vladislav Pyatkov edited comment on IGNITE-3138 at 8/16/16 9:03 AM: -------------------------------------------------------------------- My point of view: 1) This check was did for the check are buffers flushing needed. And this c= an be skip at all (because buffer can by empty, if count of entry loaded pe= r node divisible by {{bufSize}}, what unlikely). 2) Yes, =D0=B0 hang into a future it possible (this easy reproduce, if cust= om Reciver hangs). Future get method (which return from {{addData}}) need t= o invoke with timeout, even through timeout of Streamer is using. was (Author: v.pyatkov): My point of view: 1) This check was did for the check are buffers flushing needed. And this c= an be skip at all (because buffer can by empty, if count of entry loaded pe= r node divisible by {{bufSize}}, what unlikely). 2) Yes, =D0=B0 hang into a future it possible (this easy reproduce, if cust= om Reciver hangs). Future get method (which return from {{addData}}) need t= o invoke with timeout, even through timeout of Streamer is use. > 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 d= ata won't printed out anything in its logs even if IGNITE_QUIET set to fals= e. > This makes it's inconvenient to see whether there an issue happened durin= g the streaming or not. > Suggested improvements: > - print out errors that happened during the streaming on the streaming si= de; > - 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 lo= gic around this feature and process errors somehow. -- This message was sent by Atlassian JIRA (v6.3.4#6332)