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 83647200CF1 for ; Mon, 28 Aug 2017 18:14:06 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 81FEB1650B0; Mon, 28 Aug 2017 16:14:06 +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 AEC0F1650B1 for ; Mon, 28 Aug 2017 18:14:05 +0200 (CEST) Received: (qmail 15394 invoked by uid 500); 28 Aug 2017 16:14:04 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 15382 invoked by uid 99); 28 Aug 2017 16:14:04 -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; Mon, 28 Aug 2017 16:14:04 +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 13F06C1EDE for ; Mon, 28 Aug 2017 16:14:04 +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-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id X3yOSI2zU5PO for ; Mon, 28 Aug 2017 16:14:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 8957E5FBEA for ; Mon, 28 Aug 2017 16:14:01 +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 7E5A4E0B4A for ; Mon, 28 Aug 2017 16:14: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 2EA1A25381 for ; Mon, 28 Aug 2017 16:14:00 +0000 (UTC) Date: Mon, 28 Aug 2017 16:14:00 +0000 (UTC) From: "YunFan Zhou (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-7110) NodeManager always crash for spark shuffle service out of memory MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 28 Aug 2017 16:14:06 -0000 [ https://issues.apache.org/jira/browse/YARN-7110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16143954#comment-16143954 ] YunFan Zhou commented on YARN-7110: ----------------------------------- Thank [~jlowe]. Is there a plan for this issue? It seems like it hasn't been updated for a long time. I think it's an urgent need. > NodeManager always crash for spark shuffle service out of memory > ---------------------------------------------------------------- > > Key: YARN-7110 > URL: https://issues.apache.org/jira/browse/YARN-7110 > Project: Hadoop YARN > Issue Type: Bug > Components: nodemanager > Reporter: YunFan Zhou > Priority: Critical > Attachments: screenshot-1.png > > > NM often crash due to the Spark shuffle service, I can saw many error log messages before NM crashed: > {noformat} > 2017-08-28 16:14:20,521 ERROR org.apache.spark.network.server.TransportRequestHandler: Error sending result ChunkFetchSuccess{streamChunkId=StreamChunkId{streamId=791888824460, chunkIndex=0}, buffer=FileSegmentManagedBuffer{file=/data11/hadoopdata/nodemanager/local/usercache/map_loc/appcache/application_1502793246072_2171283/blockmgr-11e2d625-8db1-477c-9365-4f6d0a7d1c48/10/shuffle_0_6_0.data, offset=27063401500, length=64785602}} to /10.93.91.17:18958; closing connection > java.io.IOException: Broken pipe > at sun.nio.ch.FileChannelImpl.transferTo0(Native Method) > at sun.nio.ch.FileChannelImpl.transferToDirectlyInternal(FileChannelImpl.java:428) > at sun.nio.ch.FileChannelImpl.transferToDirectly(FileChannelImpl.java:493) > at sun.nio.ch.FileChannelImpl.transferTo(FileChannelImpl.java:608) > at org.apache.spark.network.buffer.LazyFileRegion.transferTo(LazyFileRegion.java:96) > at org.apache.spark.network.protocol.MessageWithHeader.transferTo(MessageWithHeader.java:92) > at io.netty.channel.socket.nio.NioSocketChannel.doWriteFileRegion(NioSocketChannel.java:254) > at io.netty.channel.nio.AbstractNioByteChannel.doWrite(AbstractNioByteChannel.java:237) > at io.netty.channel.socket.nio.NioSocketChannel.doWrite(NioSocketChannel.java:281) > at io.netty.channel.AbstractChannel$AbstractUnsafe.flush0(AbstractChannel.java:761) > at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.forceFlush(AbstractNioChannel.java:317) > at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:519) > at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468) > at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382) > at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354) > at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:111) > at java.lang.Thread.run(Thread.java:745) > 2017-08-28 16:14:20,523 ERROR org.apache.spark.network.server.TransportRequestHandler: Error sending result RpcResponse{requestId=7652091066050104512, body=NioManagedBuffer{buf=java.nio.HeapByteBuffer[pos=0 lim=13 cap=13]}} to /10.93.91.17:18958; closing connection > {noformat} > Finally, there are too many *Finalizer* objects in the process of *NM* to cause OOM. > !screenshot-1.png! -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org