Return-Path: X-Original-To: apmail-flink-user-archive@minotaur.apache.org Delivered-To: apmail-flink-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4090618107 for ; Wed, 24 Feb 2016 20:41:17 +0000 (UTC) Received: (qmail 82063 invoked by uid 500); 24 Feb 2016 20:40:54 -0000 Delivered-To: apmail-flink-user-archive@flink.apache.org Received: (qmail 81964 invoked by uid 500); 24 Feb 2016 20:40:54 -0000 Mailing-List: contact user-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@flink.apache.org Delivered-To: mailing list user@flink.apache.org Received: (qmail 81955 invoked by uid 99); 24 Feb 2016 20:40:54 -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, 24 Feb 2016 20:40:54 +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 4049BC04EC for ; Wed, 24 Feb 2016 20:40:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.3 X-Spam-Level: X-Spam-Status: No, score=-1.3 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 8tqK2vP2o26J for ; Wed, 24 Feb 2016 20:40:52 +0000 (UTC) Received: from mx1.mailbox.org (mx1.mailbox.org [80.241.60.212]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 365F55FABF for ; Wed, 24 Feb 2016 20:40:52 +0000 (UTC) Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id 178DD43B2D for ; Wed, 24 Feb 2016 21:40:46 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by gerste.heinlein-support.de (gerste.heinlein-support.de [91.198.250.173]) (amavisd-new, port 10030) with ESMTP id 59I08Fx2yJeb for ; Wed, 24 Feb 2016 21:40:45 +0100 (CET) Subject: Re: How to use all available task managers To: user@flink.apache.org References: From: "Matthias J. Sax" Message-ID: <56CE14E0.5050408@apache.org> Date: Wed, 24 Feb 2016 21:38:56 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="AE2M4xdtPdkB6UCeJ9EFEBkTGm1Hc6tkL" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --AE2M4xdtPdkB6UCeJ9EFEBkTGm1Hc6tkL Content-Type: multipart/mixed; boundary="GOe7iKCiNDxwTOqcCqooQbhpR6l6WDJUf" From: "Matthias J. Sax" To: user@flink.apache.org Message-ID: <56CE14E0.5050408@apache.org> Subject: Re: How to use all available task managers References: In-Reply-To: --GOe7iKCiNDxwTOqcCqooQbhpR6l6WDJUf Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Could it be, that you would need to edit client local flink-conf.yaml instead of the TaskManager config files? (In case, you do not want to specify parallelism via env.setParallelism(int);) -Matthias On 02/24/2016 04:19 PM, Saiph Kappa wrote: > Thanks! It worked now :-) >=20 > On Wed, Feb 24, 2016 at 2:48 PM, Ufuk Celebi > wrote: >=20 > You can use the environment to set it the job parallelism to 6 e.g.= > env.setParallelism(6). >=20 > Setting this will override the default behaviour. Maybe that's why = the > default parallelism is not working... you might have it set to 1 > already? >=20 > On Wed, Feb 24, 2016 at 3:41 PM, Saiph Kappa > wrote: > > I set "parallelism.default: 6" on flink-conf.yaml of all 6 > machines, and > > still, my job only uses 1 task manager. Why? > > > > > > On Wed, Feb 24, 2016 at 8:31 AM, Till Rohrmann > > wrote: > >> > >> Hi Saiph, > >> > >> I think the configuration value should be parallelism.default: 6= =2E > That > >> will execute jobs which have not parallelism defined with a DOP = of 6. > >> > >> Cheers, > >> Till > >> > >> > >> On Wed, Feb 24, 2016 at 1:43 AM, Saiph Kappa > > > >> wrote: > >>> > >>> Hi, > >>> > >>> I am running a flink stream application on a cluster with 6 > slaves/task > >>> managers. I have set in flink-conf.yaml of every machine > >>> "parallelization.degree.default: 6". However, when I run my > application it > >>> just uses one task slot and not all of them. Am I missing somet= hing? > >>> > >>> Thanks. > >> > >> > > >=20 >=20 --GOe7iKCiNDxwTOqcCqooQbhpR6l6WDJUf-- --AE2M4xdtPdkB6UCeJ9EFEBkTGm1Hc6tkL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWzhTlAAoJEFCVK48prEZ47egP/R0/giaEfyFXnBBlvXb/Uw/z ju04vbBOtLtynAUEMCxkI25X9YazjXkKsILElt4jqlVG+kFt8zw/2SnUNRe94n/7 yU29jcctCCIPLScdMCpezFnJ9wyXeDxrB4j6ZReCMoH3GqdwtmozR/oVD8TVin3q JSujUCRhNeqOaraZHXB9Uj7tJnfBpBbXTGInkqZVILCDIdVm8Lah+NSyCwlWN52b tc7vVwKqa14tG6toiy89ktLn9QIelyr8J9RyE3Z85uPdoXhVGtBGJQEtKaMd+aIa GYOq49nOaTwY93Vs+/bEIBWNLfbpGU9pOLkjFgjkMS1PRcBuCMTymQF6K3PTpmF4 JUv7ljvSVbrItyqGm8iD+qt6P4eA7a4mTh5/g2BtbTpy9adalRrHNGtbK9N1W7tg 1Z+P3vVshpOgE+RFWYIo7RET86iHCu58f6UDumT47lGLECoiZZkRBC/NuM0XR6+x kJ9/Ph2iAxFo5bTtHfmCq3kmEFzI7uUkgaj6AZwOXH9gP37xKCq9Qk7U0v6U82yB leKXm+WT63NrqpgkvVGyAk+mZOzZvNTpY5iBfYZE1EwrXoCkYikKK/uJaSxnJkpk 8LaVK5KUQdEo+CeBmC/LebohtOiRTs4jvqJG8OU8r7YuWugxyIXLdVRjKt0qaOiT Js9pD7NgMniI4Y/Vbaov =mKd/ -----END PGP SIGNATURE----- --AE2M4xdtPdkB6UCeJ9EFEBkTGm1Hc6tkL--