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 B0131200C55 for ; Wed, 29 Mar 2017 08:53:46 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id AEA31160B7C; Wed, 29 Mar 2017 06:53:46 +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 043E5160B95 for ; Wed, 29 Mar 2017 08:53:45 +0200 (CEST) Received: (qmail 13545 invoked by uid 500); 29 Mar 2017 06:53:45 -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 13413 invoked by uid 99); 29 Mar 2017 06:53:45 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Mar 2017 06:53:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 92C20180673 for ; Wed, 29 Mar 2017 06:53:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-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 (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 1LMJyN24GUhD for ; Wed, 29 Mar 2017 06:53:43 +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 361AA5FB43 for ; Wed, 29 Mar 2017 06:53:43 +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 4D90CE0959 for ; Wed, 29 Mar 2017 06:53:42 +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 AD94725CED for ; Wed, 29 Mar 2017 06:53:41 +0000 (UTC) Date: Wed, 29 Mar 2017 06:53:41 +0000 (UTC) From: "zhengchenyu (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (YARN-6407) Improve and fix locks of RM scheduler MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 29 Mar 2017 06:53:46 -0000 [ https://issues.apache.org/jira/browse/YARN-6407?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D15946= 630#comment-15946630 ]=20 zhengchenyu edited comment on YARN-6407 at 3/29/17 6:53 AM: ------------------------------------------------------------ [~vinodkv] Can you give me some advice ? Thanks! was (Author: zhengchenyu): [~vinodkv] > Improve and fix locks of RM scheduler > ------------------------------------- > > Key: YARN-6407 > URL: https://issues.apache.org/jira/browse/YARN-6407 > Project: Hadoop YARN > Issue Type: Bug > Components: fairscheduler > Affects Versions: 2.7.1 > Environment: CentOS 7, 1 Gigabit Ethernet > Reporter: zhengchenyu > Fix For: 2.7.1 > > Original Estimate: 2m > Remaining Estimate: 2m > > First=EF=BC=8Cthis issue dose not duplicate the YARN-3091. > In our cluster, we have 5k nodes, and the server is configured with 1 Gig= abit Ethernet. So network is bottleneck in our cluster. > We must distcp data from warehouse, because of 1 Gigabit Ethernet, we mus= t set yarn.scheduler.fair.max.assign to 5, or must lead to hotspot. > The setting that max.assign is 5 lead to the assigned ability decreased. = So we start the ContinuousSchedulingThread.=20 > As more applicaitons running in our cluster , and with ContinuousScheduli= ngThread, the problem of lock contention is more serious.=20 > In our cluster, the callqueue of ApplicationMasterSeriver's rpc is high o= ccasionally. we worried that more problem occure in future with more applic= ation are running. > Here is our logical graph: > "1 Gigabit Ethernet" and "data hot spot" =3D=3D> "set yarn.scheduler.fair= .max.assign to 5" =3D=3D> "ContinuousSchedulingThread is started" and "more= applcations" =3D> "lock contention" > I know YARN-3091 solved this problem, but the patch aims that change the = object lock to read write lock. This change is still Coarse-Grained. So I t= hink we lock the resources or not lock the large section code. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org