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 047A5200CDC for ; Sat, 22 Jul 2017 15:24:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 02E57167425; Sat, 22 Jul 2017 13:24:05 +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 48019167422 for ; Sat, 22 Jul 2017 15:24:04 +0200 (CEST) Received: (qmail 31576 invoked by uid 500); 22 Jul 2017 13:24:03 -0000 Mailing-List: contact issues-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@spark.apache.org Received: (qmail 31567 invoked by uid 99); 22 Jul 2017 13:24:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Jul 2017 13:24:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 15063C0930 for ; Sat, 22 Jul 2017 13:24:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id yzQbe9W1wYHG for ; Sat, 22 Jul 2017 13:24:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id CD1045FD1B for ; Sat, 22 Jul 2017 13:24:00 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 65ECCE0D49 for ; Sat, 22 Jul 2017 13:24:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 167FB21EE2 for ; Sat, 22 Jul 2017 13:24:00 +0000 (UTC) Date: Sat, 22 Jul 2017 13:24:00 +0000 (UTC) From: "Ryan Williams (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (SPARK-16599) java.util.NoSuchElementException: None.get at at org.apache.spark.storage.BlockInfoManager.releaseAllLocksForTask(BlockInfoManager.scala:343) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 22 Jul 2017 13:24:05 -0000 [ https://issues.apache.org/jira/browse/SPARK-16599?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D160= 97318#comment-16097318 ]=20 Ryan Williams edited comment on SPARK-16599 at 7/22/17 1:23 PM: ---------------------------------------------------------------- Seems like the second {{SparkContext}}'s {{BlockManager}}/{{NettyBlockTrans= ferService}} starts at the same address as the first's, intercepts subseque= nt block requests, and doesn't know about blocks that were created with the= first {{SparkContext}}/{{BlockManager}}. this doesn't explain why s= witching to {{DEBUG}} logging made the issue go away in my application thou= gh; hmm=E2=80=A6 If anyone else who saw this issue wants to chime in about whether they may = have =E2=80=93 or definitely did not have =E2=80=93 multiple concurrently-a= ctive {{SparkContext}}'s in the same JVM when they saw the issue, that migh= t be useful! was (Author: rdub): Seems like the second {{SparkContext}}'s {{BlockManager}}/{{NettyBlockTrans= ferService}} starts at the same address as the first's, intercepts subseque= nt block requests, and doesn't know about blocks that were created with the= first {{SparkContext}}/{{BlockManager}}. If anyone else who saw this issue wants to chime in about whether they may = have =E2=80=93 or definitely did not have =E2=80=93 multiple concurrently-a= ctive {{SparkContext}}'s in the same JVM when they saw the issue, that migh= t be useful! > java.util.NoSuchElementException: None.get at at org.apache.spark.storag= e.BlockInfoManager.releaseAllLocksForTask(BlockInfoManager.scala:343) > -------------------------------------------------------------------------= --------------------------------------------------------------------- > > Key: SPARK-16599 > URL: https://issues.apache.org/jira/browse/SPARK-16599 > Project: Spark > Issue Type: Bug > Affects Versions: 2.0.0 > Environment: centos 6.7 spark 2.0 > Reporter: binde > > run a spark job with spark 2.0, error message > Job aborted due to stage failure: Task 0 in stage 821.0 failed 4 times, m= ost recent failure: Lost task 0.3 in stage 821.0 (TID 1480, e103): java.uti= l.NoSuchElementException: None.get > =09at scala.None$.get(Option.scala:347) > =09at scala.None$.get(Option.scala:345) > =09at org.apache.spark.storage.BlockInfoManager.releaseAllLocksForTask(Bl= ockInfoManager.scala:343) > =09at org.apache.spark.storage.BlockManager.releaseAllLocksForTask(BlockM= anager.scala:644) > =09at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:28= 1) > =09at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecuto= r.java:1145) > =09at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecut= or.java:615) > =09at java.lang.Thread.run(Thread.java:745) -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org For additional commands, e-mail: issues-help@spark.apache.org