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 9C0BF2009E8 for ; Mon, 30 May 2016 23:08:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9AD15160A19; Mon, 30 May 2016 21:08:14 +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 E1808160969 for ; Mon, 30 May 2016 23:08:13 +0200 (CEST) Received: (qmail 70222 invoked by uid 500); 30 May 2016 21:08:13 -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 70205 invoked by uid 99); 30 May 2016 21:08:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 May 2016 21:08:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D55102C14F8 for ; Mon, 30 May 2016 21:08:12 +0000 (UTC) Date: Mon, 30 May 2016 21:08:12 +0000 (UTC) From: "Stephan Ewen (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (FLINK-2829) Confusing error message when Flink cannot create enough task threads MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 30 May 2016 21:08:14 -0000 [ https://issues.apache.org/jira/browse/FLINK-2829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stephan Ewen resolved FLINK-2829. --------------------------------- Resolution: Fixed Fix Version/s: 1.1.0 Fixed via 77afe28eb1d5cf454f7e64be20420051c30596a2 Thank you for the contribution! > Confusing error message when Flink cannot create enough task threads > -------------------------------------------------------------------- > > Key: FLINK-2829 > URL: https://issues.apache.org/jira/browse/FLINK-2829 > Project: Flink > Issue Type: Improvement > Components: JobManager, TaskManager > Reporter: Gyula Fora > Assignee: Rekha Joshi > Priority: Trivial > Fix For: 1.1.0 > > > When Flink runs out of memory while creating too many task threads, the error message received from the job manager is slightly confusing: > java.lang.Exception: Failed to deploy the task to slot SimpleSlot (1)(63) - eea7250ab5b368693e3c4f14fb94f86d @ localhost - 8 slots - URL: akka://flink/user/taskmanager_1 - ALLOCATED/ALIVE: Response was not of type Acknowledge > at org.apache.flink.runtime.executiongraph.Execution$2.onComplete(Execution.java:392) > at akka.dispatch.OnComplete.internal(Future.scala:247) > at akka.dispatch.OnComplete.internal(Future.scala:244) > at akka.dispatch.japi$CallbackBridge.apply(Future.scala:174) > at akka.dispatch.japi$CallbackBridge.apply(Future.scala:171) > at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32) > at scala.concurrent.impl.ExecutionContextImpl$anon$3.exec(ExecutionContextImpl.scala:107) > at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) > at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) > at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) > at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) > Although the error comes from the Taskmanager: > java.lang.OutOfMemoryError: unable to create new native thread > at java.lang.Thread.start0(Native Method) > at java.lang.Thread.start(Thread.java:714) > at org.apache.flink.runtime.taskmanager.Task.startTaskThread(Task.java:415) > at org.apache.flink.runtime.taskmanager.TaskManager.submitTask(TaskManager.scala:904) -- This message was sent by Atlassian JIRA (v6.3.4#6332)