From user-return-26260-archive-asf-public=cust-asf.ponee.io@flink.apache.org Sun Mar 3 11:24:12 2019 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 9D91D180630 for ; Sun, 3 Mar 2019 12:24:11 +0100 (CET) Received: (qmail 1182 invoked by uid 500); 3 Mar 2019 11:24:10 -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 1172 invoked by uid 99); 3 Mar 2019 11:24:10 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Mar 2019 11:24:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id E9180180DF8 for ; Sun, 3 Mar 2019 11:24:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.486 X-Spam-Level: **** X-Spam-Status: No, score=4.486 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.972, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id AbX-V1i5VC1e for ; Sun, 3 Mar 2019 11:24:08 +0000 (UTC) Received: from n4.nabble.com (n4.nabble.com [199.38.86.66]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id E634D5F544 for ; Sun, 3 Mar 2019 11:17:24 +0000 (UTC) Received: from n4.nabble.com (localhost [127.0.0.1]) by n4.nabble.com (Postfix) with ESMTP id 6A8E35DBDDD8 for ; Sun, 3 Mar 2019 05:17:24 -0600 (CST) Date: Sun, 3 Mar 2019 05:17:24 -0600 (CST) From: Mar_zieh To: user@flink.apache.org Message-ID: <1551611844434-0.post@n4.nabble.com> In-Reply-To: References: Subject: Re: Automate Job submission with container MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I want to run my flink program on Mesos cluster via marathon. I created an application with this Json file in Marathon: { "id": "flink", "cmd": "/home/flink-1.7.0/bin/mesos-appmaster.sh -Djobmanager.heap.mb=1024 -Djobmanager.rpc.port=6123 -Drest.port=8081 -Dmesos.resourcemanager.tasks.mem=1024 -Dtaskmanager.heap.mb=1024 -Dtaskmanager.numberOfTaskSlots=2 -Dparallelism.default=2 -Dmesos.resourcemanager.tasks.cpus=1", "cpus": 1.0, "mem": 1024 } The task became failed with this error: I0303 09:41:52.841243 2594 exec.cpp:162] Version: 1.7.0 I0303 09:41:52.851898 2593 exec.cpp:236] Executor registered on agent d9a98175-b93c-4600-a41b-fe91fae5486a-S0 I0303 09:41:52.854436 2594 executor.cpp:182] Received SUBSCRIBED event I0303 09:41:52.855284 2594 executor.cpp:186] Subscribed executor on 172.28.10.136 I0303 09:41:52.855479 2594 executor.cpp:182] Received LAUNCH event I0303 09:41:52.855932 2594 executor.cpp:679] Starting task ffff.933fdd2f-3d98-11e9-bbc4-0242a78449af I0303 09:41:52.868172 2594 executor.cpp:499] Running '/home/mesos-1.7.0/build/src/mesos-containerizer launch ' I0303 09:41:52.872699 2594 executor.cpp:693] Forked command at 2599 I0303 09:41:54.050284 2596 executor.cpp:994] Command exited with status 1 (pid: 2599) I0303 09:41:55.052323 2598 process.cpp:926] Stopped the socket accept loop I configured Zookeeper, Mesos, Marathon and Flink. Moreover, they are all on docker. I ran a simple program like "echo "hello" >> /home/output.txt" without any problems. I really do not know what is going on, I am confused. Would you please any one tell me what is wrong here? Any help would be appreciated. Many thanks. -- Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/