From issues-return-160651-archive-asf-public=cust-asf.ponee.io@flink.apache.org Wed Mar 28 09:02:04 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id E42B7180652 for ; Wed, 28 Mar 2018 09:02:03 +0200 (CEST) Received: (qmail 81229 invoked by uid 500); 28 Mar 2018 07:02:02 -0000 Mailing-List: contact issues-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list issues@flink.apache.org Received: (qmail 81220 invoked by uid 99); 28 Mar 2018 07:02:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Mar 2018 07:02:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 44987C0156 for ; Wed, 28 Mar 2018 07:02:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.311 X-Spam-Level: X-Spam-Status: No, score=-110.311 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id qFzAp_Uba0LY for ; Wed, 28 Mar 2018 07:02:01 +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 D3B405F17B for ; Wed, 28 Mar 2018 07:02:00 +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 577F6E0252 for ; Wed, 28 Mar 2018 07:02:00 +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 11DB321509 for ; Wed, 28 Mar 2018 07:02:00 +0000 (UTC) Date: Wed, 28 Mar 2018 07:02:00 +0000 (UTC) From: "dhiraj prajapati (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FLINK-9054) IllegalStateException: Buffer pool is destroyed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLINK-9054?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] dhiraj prajapati updated FLINK-9054: ------------------------------------ Fix Version/s: (was: 1.5.0) > IllegalStateException: Buffer pool is destroyed > ----------------------------------------------- > > Key: FLINK-9054 > URL: https://issues.apache.org/jira/browse/FLINK-9054 > Project: Flink > Issue Type: Bug > Components: Cluster Management, Configuration, Core > Affects Versions: 1.4.2 > Reporter: dhiraj prajapati > Priority: Blocker > Attachments: flink-conf.yaml > > > Hi, > I have a flink cluster running on 2 machines, say A and B. > Job manager is running on A. There are 2 TaksManagers, one on each node. > So effectively, A has a job manager and a task manager, while B has a tas= k manager. > When I submit a job to the cluster, I see below exception and the job fai= ls: > 2018-03-22 17:16:52,205 WARN org.apache.flink.streaming.api.operators.Abs= tractStreamOperator - Error while emitting latency marker. > org.apache.flink.streaming.runtime.tasks.ExceptionInChainedOperatorExcept= ion: Could not forward element to next operator > at org.apache.flink.streaming.runtime.tasks.OperatorChain$ChainingOutput= .emitLatencyMarker(OperatorChain.java:489) > at org.apache.flink.streaming.api.operators.AbstractStreamOperator$Count= ingOutput.emitLatencyMarker(AbstractStreamOperator.java:824) > at org.apache.flink.streaming.api.operators.StreamSource$LatencyMarksEmi= tter$1.onProcessingTime(StreamSource.java:150) > at org.apache.flink.streaming.runtime.tasks.SystemProcessingTimeService$= RepeatedTriggerTask.run(SystemProcessingTimeService.java:294) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:51= 1) > 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:745) > Caused by: org.apache.flink.streaming.runtime.tasks.ExceptionInChainedOpe= ratorException: Could not forward element to next operator > at org.apache.flink.streaming.runtime.tasks.OperatorChain$ChainingOutput= .emitLatencyMarker(OperatorChain.java:489) > at org.apache.flink.streaming.api.operators.AbstractStreamOperator$Count= ingOutput.emitLatencyMarker(AbstractStreamOperator.java:824) > at org.apache.flink.streaming.api.operators.AbstractStreamOperator.repor= tOrForwardLatencyMarker(AbstractStreamOperator.java:679) > at org.apache.flink.streaming.api.operators.AbstractStreamOperator.proce= ssLatencyMarker(AbstractStreamOperator.java:662) > at org.apache.flink.streaming.runtime.tasks.OperatorChain$ChainingOutput= .emitLatencyMarker(OperatorChain.java:486) > ... 10 more > Caused by: java.lang.RuntimeException: Buffer pool is destroyed. > at org.apache.flink.streaming.runtime.io.RecordWriterOutput.emitLatencyM= arker(RecordWriterOutput.java:141) > at org.apache.flink.streaming.runtime.tasks.OperatorChain$BroadcastingOu= tputCollector.emitLatencyMarker(OperatorChain.java:604) > at org.apache.flink.streaming.api.operators.AbstractStreamOperator$Count= ingOutput.emitLatencyMarker(AbstractStreamOperator.java:824) > at org.apache.flink.streaming.api.operators.AbstractStreamOperator.repor= tOrForwardLatencyMarker(AbstractStreamOperator.java:679) > at org.apache.flink.streaming.api.operators.AbstractStreamOperator.proce= ssLatencyMarker(AbstractStreamOperator.java:662) > at org.apache.flink.streaming.runtime.tasks.OperatorChain$ChainingOutput= .emitLatencyMarker(OperatorChain.java:486) > ... 14 more > Caused by: java.lang.IllegalStateException: Buffer pool is destroyed. > at org.apache.flink.runtime.io.network.buffer.LocalBufferPool.requestBuf= fer(LocalBufferPool.java:203) > at org.apache.flink.runtime.io.network.buffer.LocalBufferPool.requestBuf= ferBlocking(LocalBufferPool.java:191) > at org.apache.flink.runtime.io.network.api.writer.RecordWriter.sendToTar= get(RecordWriter.java:132) > at org.apache.flink.runtime.io.network.api.writer.RecordWriter.randomEmi= t(RecordWriter.java:107) > at org.apache.flink.streaming.runtime.io.StreamRecordWriter.randomEmit(S= treamRecordWriter.java:102) > at org.apache.flink.streaming.runtime.io.RecordWriterOutput.emitLatencyM= arker(RecordWriterOutput.java:138) > ... 19 more > =C2=A0 > The exception does not come when I run only one JobManager (only on machi= ne B). > =C2=A0 > I am attaching flink-conf.yaml -- This message was sent by Atlassian JIRA (v7.6.3#76005)