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 2398E200D0F for ; Fri, 29 Sep 2017 15:01:57 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2045F1609D1; Fri, 29 Sep 2017 13:01:57 +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 661AB1609C5 for ; Fri, 29 Sep 2017 15:01:56 +0200 (CEST) Received: (qmail 46866 invoked by uid 500); 29 Sep 2017 13:01:55 -0000 Mailing-List: contact user-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list user@flink.apache.org Received: (qmail 46856 invoked by uid 99); 29 Sep 2017 13:01:55 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Sep 2017 13:01:55 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 9F88AD6052 for ; Fri, 29 Sep 2017 13:01:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.792 X-Spam-Level: * X-Spam-Status: No, score=1.792 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=data-artisans-com.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id LojNkfsFwplD for ; Fri, 29 Sep 2017 13:01:51 +0000 (UTC) Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id A32D15F367 for ; Fri, 29 Sep 2017 13:01:51 +0000 (UTC) Received: by mail-wm0-f54.google.com with SMTP id u138so3114652wmu.4 for ; Fri, 29 Sep 2017 06:01:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=data-artisans-com.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=c5cW1QMmjoDs2/QTH1Fd4AHpsJ55kRsAvOyvqzRT9s4=; b=UmvvkuWqY8iyRapQjC4VCN6Qy42QP7hI7E7smNrTNq8Rgmqb8xz0uHy/iVIMK+Rkga TGVignDssgzPI2v7jjj4c4KHueKnvlBgpnsD383j/ak4It2G1C48UWSeoaCeCSx1CloD zFbInfo46/fpHqmgUrriJpVxcuKjPGoy76Z81X2ri6kDP6yzoJsfpgpgtvpDHVp//DkI M2iwabsfeUmQTzphoS91Bsmil+1PJHK1RQ/ocfwL5xgLDCH/3uUsgKThmOxfZFM4MS4x zlFUUZ9YMIvpINi2sYx8aDLyraLj/xYCrIOw3oppCPm5JMmu6OWS39vRL+NRKoxicmhb X7cA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=c5cW1QMmjoDs2/QTH1Fd4AHpsJ55kRsAvOyvqzRT9s4=; b=BcxIOccPvEBP+iid+TZ6lsMeFUIG5FrGfurOYdLu4x6WJOIjzEe8woPU0fkPdCKAjO rB3dGEnd8k0fTK5DDqz+Yj3ku4KvZggKJJPxsCb3h9sNCkPiGMDS+E1AY2lWoOB8t1MM 8L44YGcqz+yA9MiKwECTlA4S8gCGZGU/R6iMXOGVZ1t7Ks0NB+jYde4JiBYCCn6xpXki KiDWIm5cXVhPFAlUglPoKWDI3B4ZPM2RQLHPV71q8ttbGCbtVabfzw0xJagVG1POOhd2 1eykUd88gPhK0Ty/AKCAYej4iZx10yFC9BqJTg5ZI7dt8uNjy0IZEKMe25gWAggZsa9r GVTA== X-Gm-Message-State: AMCzsaWcZNW6E3cEQyxl1l2JWe4vD+AO0bpmIhQGZ2wgU5kZLcAvzpR5 2g2OtjaehOOXEF3GBjMGMLP1RQ== X-Google-Smtp-Source: AOwi7QBoyumqBad+hTq5scQHtBXpuz97CQJzcYLOEQzBtjvpnX9NIs4CBYxvgXmSyAcbLH7erKWgOw== X-Received: by 10.28.52.132 with SMTP id b126mr4018867wma.144.1506690110401; Fri, 29 Sep 2017 06:01:50 -0700 (PDT) Received: from piotrs-mbp.fritz.box (dslb-094-222-124-158.094.222.pools.vodafone-ip.de. [94.222.124.158]) by smtp.gmail.com with ESMTPSA id e17sm7840017wmf.46.2017.09.29.06.01.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 29 Sep 2017 06:01:49 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: How flink monitor source stream task(Time Trigger) is running? From: Piotr Nowojski In-Reply-To: <1506686977726-0.post@n4.nabble.com> Date: Fri, 29 Sep 2017 15:01:48 +0200 Cc: user@flink.apache.org Content-Transfer-Encoding: quoted-printable Message-Id: <240E02C6-9F18-4D4F-8991-05791F6D3891@data-artisans.com> References: <1506663032344-0.post@n4.nabble.com> <025BE919-543E-4F21-BBDE-619C48E02BC6@data-artisans.com> <1506686977726-0.post@n4.nabble.com> To: yunfan123 X-Mailer: Apple Mail (2.3273) archived-at: Fri, 29 Sep 2017 13:01:57 -0000 Any exception thrown by your SourceFunction will be caught by Flink and = that will mark a task (that was executing this SourceFuntion) as failed. If you started some custom threads in your SourceFunction, you have to = manually propagate their exceptions to the SourceFunction. Piotrek > On Sep 29, 2017, at 2:09 PM, yunfan123 = wrote: >=20 > My source stream means the funciton implement the > org.apache.flink.streaming.api.functions.source.SourceFunction. > My question is how flink know all working thread is alive? > If one working thread that execute the SourceFunction crash, how flink = know > this happenned?=20 >=20 >=20 >=20 > -- > Sent from: = http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/