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 E54F3200BE8 for ; Fri, 23 Dec 2016 19:29:03 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E43F5160B1F; Fri, 23 Dec 2016 18:29:03 +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 36834160B0C for ; Fri, 23 Dec 2016 19:29:03 +0100 (CET) Received: (qmail 9136 invoked by uid 500); 23 Dec 2016 18:29:01 -0000 Mailing-List: contact dev-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@spark.apache.org Received: (qmail 9125 invoked by uid 99); 23 Dec 2016 18:29:01 -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; Fri, 23 Dec 2016 18:29:01 +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 29E2EC0945 for ; Fri, 23 Dec 2016 18:29:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.398 X-Spam-Level: ** X-Spam-Status: No, score=2.398 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id LdO6dq_15v5L for ; Fri, 23 Dec 2016 18:29:00 +0000 (UTC) Received: from mail-oi0-f47.google.com (mail-oi0-f47.google.com [209.85.218.47]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id F2C975F306 for ; Fri, 23 Dec 2016 18:28:59 +0000 (UTC) Received: by mail-oi0-f47.google.com with SMTP id 128so82118152oig.0 for ; Fri, 23 Dec 2016 10:28:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=lgMtli5mKOzD+521d5doQNOquPVnYNR/qnBBqaII8x4=; b=G4wEhp288thdfo6qXnkMo4PKwuVQU543h3B1Z3BEb8yaxQHCJmDu48DbESqWpyNnZd aZyQQnWS14gk7pjY2P4kXOZJYoBUlIhD7XmSf6OQYSMg6+nfx1Wdx3rcyvN4USOyiCu/ g6eXncxEXNO1XAXSZ7w+E+iURF4Ad70Xjdqu8OU9rgZZitOHplhpBwxo9t1JjWnVTkX/ opOGzuLCeVtzT/OOKiW5q46UtFjfaEmpxBgBSXJFEaG/1QL0G3gGsjLON1tLmtDyvm5T mTif8iLAyZiyaFojATLJ3oNH8h7sdfPGzROxsnwbdercDAL4im04TRF01TMCNjqViwVa T/4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=lgMtli5mKOzD+521d5doQNOquPVnYNR/qnBBqaII8x4=; b=dJragGVWeuloJdhodlLNDx8nHWwvP/9uRYbeMNtrO9HnZCnxDszSVXlsez75Rs5+ym yr62EIAAkRit5pSFqcAC9GfOmm/JRFASpT91PDVjJLs8iZPOrnIu5vjWziK0rL0WInJw I5cRaBQe4to+9T8HPj8X6MCaI+eB+msktGrm24doCffiEJrkQhmiVQEVee/InnhqVTYu fDvPOIlgfFiQ+L5l0t9uUA4zg83o0GGmgYcFG5HipqaFp3CPBNGBuxa+WUc/Mxdm/b99 2k9hazMoym07CHDKEEE+GZnwqdtzXU4kgddXkR7KSzNcWfAgBYhwneyGP38jui+VN+Pg iAQg== X-Gm-Message-State: AIkVDXKXwNNh2R9RzvRNuOqY1jYVPjXROlWuTD+YmLnATujG4qXbgoNYM7hNkRbnLsCospCIK2qPfPS46ZNYpA== X-Received: by 10.202.171.143 with SMTP id u137mr7675084oie.158.1482517733454; Fri, 23 Dec 2016 10:28:53 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.21.93 with HTTP; Fri, 23 Dec 2016 10:28:53 -0800 (PST) In-Reply-To: References: From: Chetan Khatri Date: Fri, 23 Dec 2016 23:58:53 +0530 Message-ID: Subject: Re: Negative number of active tasks To: Andy Dang Cc: dev@spark.apache.org Content-Type: multipart/alternative; boundary=001a113c2efee03ae60544578e88 archived-at: Fri, 23 Dec 2016 18:29:04 -0000 --001a113c2efee03ae60544578e88 Content-Type: text/plain; charset=UTF-8 Could you share Pseudo code for the same. Cheers! C Khatri. On Fri, Dec 23, 2016 at 4:33 PM, Andy Dang wrote: > Hi all, > > Today I hit a weird bug in Spark 2.0.2 (vanilla Spark) - the executor tab > shows negative number of active tasks. > > I have about 25 jobs, each with 20k tasks so the numbers are not that > crazy. > > What could possibly the cause of this bug? This is the first time I've > seen it and the only special thing I'm doing is saving multiple datasets at > the same time to HDFS from different threads. > > Thanks, > Andy > > > --------------------------------------------------------------------- > To unsubscribe e-mail: dev-unsubscribe@spark.apache.org > --001a113c2efee03ae60544578e88 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Could you share Pseudo code for the same.

Cheers!

C Khatri.

On Fri, Dec 23, 2016 at 4:33 PM, An= dy Dang <namd88@gmail.com> wrote:
Hi all,

Today I hit a weird bug = in Spark 2.0.2 (vanilla Spark) - the executor tab shows negative number of = active tasks.

I have about 25 jobs, each with 20k = tasks so the numbers are not that crazy.

What coul= d possibly the cause of this bug? This is the first time I've seen it a= nd the only special thing I'm doing is saving multiple datasets at the = same time to HDFS from different threads.

=
Th= anks,
Andy


-----------------------------------------------------------------= ----
To unsubscribe e-mail: = dev-unsubscribe@spark.apache.org

--001a113c2efee03ae60544578e88--