Return-Path: X-Original-To: apmail-flink-dev-archive@www.apache.org Delivered-To: apmail-flink-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 62DAD11616 for ; Fri, 13 Jun 2014 19:44:34 +0000 (UTC) Received: (qmail 30158 invoked by uid 500); 13 Jun 2014 19:44:34 -0000 Delivered-To: apmail-flink-dev-archive@flink.apache.org Received: (qmail 30105 invoked by uid 500); 13 Jun 2014 19:44:34 -0000 Mailing-List: contact dev-help@flink.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.incubator.apache.org Delivered-To: mailing list dev@flink.incubator.apache.org Received: (qmail 30095 invoked by uid 99); 13 Jun 2014 19:44:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jun 2014 19:44:34 +0000 X-ASF-Spam-Status: No, hits=-2000.7 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 13 Jun 2014 19:44:34 +0000 Received: (qmail 30000 invoked by uid 99); 13 Jun 2014 19:44:09 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jun 2014 19:44:09 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 29EA8933F4E; Fri, 13 Jun 2014 19:44:09 +0000 (UTC) From: rmetzger To: dev@flink.incubator.apache.org Reply-To: dev@flink.incubator.apache.org Message-ID: Subject: [GitHub] incubator-flink pull request: Do not limit the client's heap space... Content-Type: text/plain Date: Fri, 13 Jun 2014 19:44:09 +0000 (UTC) X-Virus-Checked: Checked by ClamAV on apache.org GitHub user rmetzger opened a pull request: https://github.com/apache/incubator-flink/pull/18 Do not limit the client's heap space (See FLINK-934) Similar to FLINK-934 and https://github.com/apache/incubator-flink/pull/14 we should not limit the heap space of the job submission client to 512MB. A user actually had the following exception while using Flink: ``` java.lang.OutOfMemoryError: Java heap space at eu.stratosphere.runtime.io.serialization.DataOutputSerializer.resize(DataOutputSerializer.java:243) at eu.stratosphere.runtime.io.serialization.DataOutputSerializer.write(DataOutputSerializer.java:87) at eu.stratosphere.nephele.jobgraph.JobGraph.writeRequiredJarFiles(JobGraph.java:706) at eu.stratosphere.nephele.jobgraph.JobGraph.write(JobGraph.java:641) at eu.stratosphere.nephele.ipc.RPC$Invocation.write(RPC.java:153) at eu.stratosphere.nephele.ipc.Client$Connection.sendParam(Client.java:469) at eu.stratosphere.nephele.ipc.Client.call(Client.java:689) at eu.stratosphere.nephele.ipc.RPC$Invoker.invoke(RPC.java:250) at com.sun.proxy.$Proxy1.submitJob(Unknown Source) at eu.stratosphere.nephele.client.JobClient.submitJobAndWait(JobClient.java:258) at eu.stratosphere.client.program.Client.run(Client.java:284) at eu.stratosphere.client.program.Client.run(Client.java:268) at eu.stratosphere.client.program.Client.run(Client.java:262) at eu.stratosphere.client.program.ContextEnvironment.execute(ContextEnvironment.java:50) at eu.stratosphere.example.java.wordcount.WordCount.main(WordCount.java:79) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at eu.stratosphere.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:384) at eu.stratosphere.client.program.PackagedProgram.invokeInteractiveModeForExecution(PackagedProgram.java:302) at eu.stratosphere.client.program.Client.run(Client.java:220) at eu.stratosphere.client.CliFrontend.executeProgram(CliFrontend.java:327) at eu.stratosphere.client.CliFrontend.run(CliFrontend.java:314) at eu.stratosphere.client.CliFrontend.parseParameters(CliFrontend.java:927) at eu.stratosphere.client.CliFrontend.main(CliFrontend.java:951) ``` I verified that the change resolves the problem. You can merge this pull request into a Git repository by running: $ git pull https://github.com/rmetzger/incubator-flink stratosphere_client_fix Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-flink/pull/18.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #18 ---- commit 8e1bff41a21d75f5e7dc78fbc5c30835a3802781 Author: Robert Metzger Date: 2014-06-13T19:40:34Z Do not limit the client's heap space (See FLINK-934) [ci skip] ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---