Return-Path: X-Original-To: apmail-apex-dev-archive@minotaur.apache.org Delivered-To: apmail-apex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 552FD19696 for ; Fri, 18 Mar 2016 00:13:37 +0000 (UTC) Received: (qmail 59856 invoked by uid 500); 18 Mar 2016 00:13:37 -0000 Delivered-To: apmail-apex-dev-archive@apex.apache.org Received: (qmail 59785 invoked by uid 500); 18 Mar 2016 00:13:37 -0000 Mailing-List: contact dev-help@apex.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@apex.incubator.apache.org Delivered-To: mailing list dev@apex.incubator.apache.org Received: (qmail 59774 invoked by uid 99); 18 Mar 2016 00:13:37 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Mar 2016 00:13:37 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id E34CB1A05FD for ; Fri, 18 Mar 2016 00:13:36 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -3.221 X-Spam-Level: X-Spam-Status: No, score=-3.221 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id ILySopN7BNG7 for ; Fri, 18 Mar 2016 00:13:35 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id 86DE05F19A for ; Fri, 18 Mar 2016 00:13:34 +0000 (UTC) Received: (qmail 58834 invoked by uid 99); 18 Mar 2016 00:13:33 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Mar 2016 00:13:33 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8A0002C1F58 for ; Fri, 18 Mar 2016 00:13:33 +0000 (UTC) Date: Fri, 18 Mar 2016 00:13:33 +0000 (UTC) From: "Ilya Ganelin (JIRA)" To: dev@apex.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (APEXCORE-392) Stack Overflow when launching jobs 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/APEXCORE-392?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D15= 200660#comment-15200660 ]=20 Ilya Ganelin edited comment on APEXCORE-392 at 3/18/16 12:13 AM: ----------------------------------------------------------------- I've updated the gist with a more complete example that reliably causes thi= s failure. The code is not a complete project because other components of t= he project include code that cannot be shared.=20 An example that causes this to break: {{code}} // Add our operators to the DAG NewlineFileInputOperator fileInputOperator =3D dag.addOperator("NewLines", NewlineFileInputOperator.class); fileInputOperator.setCoreSite(conf.get("coreSite")); fileInputOperator.setHdfsSite(conf.get("hdfsSite")); fileInputOperator.setDirectory(conf.get("citadel.data.rawAuths")); setPartitioner(dag, fileInputOperator, conf.getInt("citadel.numHdfsPartitio= ns", 16)); String label =3D "HDHT"; final HdfsFileOutputOperator latenciesOutput =3D addHdfsOutputOp(dag, "LatencyOut" + label, "latencies", conf); setPartitioner(dag, latenciesOutput, conf.getInt("citadel.numHdfsPartitions= ", 16)); dag.addStream("latencies2File" + label, fileInputOperator.output, latencies= Output.input); {{code}} citadel.numPartitions 20 citadel.numHdfsPartitions 20 was (Author: ilganeli): I've updated the gist with a more complete example that reliably causes thi= s failure. The code is not a complete project because other components of t= he project include code that cannot be shared.=20 An example that causes this to break: { code } // Add our operators to the DAG NewlineFileInputOperator fileInputOperator =3D dag.addOperator("NewLines", NewlineFileInputOperator.class); fileInputOperator.setCoreSite(conf.get("coreSite")); fileInputOperator.setHdfsSite(conf.get("hdfsSite")); fileInputOperator.setDirectory(conf.get("citadel.data.rawAuths")); setPartitioner(dag, fileInputOperator, conf.getInt("citadel.numHdfsPartitio= ns", 16)); String label =3D "HDHT"; final HdfsFileOutputOperator latenciesOutput =3D addHdfsOutputOp(dag, "LatencyOut" + label, "latencies", conf); setPartitioner(dag, latenciesOutput, conf.getInt("citadel.numHdfsPartitions= ", 16)); dag.addStream("latencies2File" + label, fileInputOperator.output, latencies= Output.input); { code } citadel.numPartitions 20 citadel.numHdfsPartitions 20 > Stack Overflow when launching jobs > ---------------------------------- > > Key: APEXCORE-392 > URL: https://issues.apache.org/jira/browse/APEXCORE-392 > Project: Apache Apex Core > Issue Type: Bug > Affects Versions: 3.2.0, 3.3.0 > Reporter: Ilya Ganelin > Priority: Blocker > > I=E2=80=99m running into a very frustrating issue where certain DAG confi= gurations cause the following error log (attached). When this happens, my a= pplication even fails to launch. This does not seem to be a YARN issue sinc= e this occurs even with a relatively small number of partitions/memory.=20 > This issue DOES appear to be related to HDFS input/output operations sinc= e the specific parameter that appears to affect things is the number of phy= sical partitions for the HDFS input/output operators. > I=E2=80=99ve also attached the input and output operators in question: > https://gist.github.com/ilganeli/7f770374113b40ffa18a > I can get this to occur predictable by > 1. Increasing the partition count on my input operator (reads from HDF= S) - values above 20 cause this error > 2. Increase the partition count on my output operator (writes to HDFS)= - values above 20 cause this error > 3. Set stream locality from the default to either thread local, node l= ocal, or container_local on the output operator > This behavior is very frustrating as it=E2=80=99s preventing me from part= itioning my HDFS I/O appropriately, thus allowing me to scale to higher thr= oughputs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)