From dev-return-159-archive-asf-public=cust-asf.ponee.io@yunikorn.apache.org Fri Feb 28 20:03:11 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 002EE180636 for ; Fri, 28 Feb 2020 21:03:10 +0100 (CET) Received: (qmail 27796 invoked by uid 500); 28 Feb 2020 20:03:10 -0000 Mailing-List: contact dev-help@yunikorn.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@yunikorn.apache.org Delivered-To: mailing list dev@yunikorn.apache.org Received: (qmail 27784 invoked by uid 99); 28 Feb 2020 20:03:10 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Feb 2020 20:03:10 +0000 From: GitBox To: dev@yunikorn.apache.org Subject: [GitHub] [incubator-yunikorn-core] yangwwei opened a new pull request #92: fix a scheduler deadlock Message-ID: Date: Fri, 28 Feb 2020 20:03:10 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit yangwwei opened a new pull request #92: fix a scheduler deadlock URL: https://github.com/apache/incubator-yunikorn-core/pull/92 looks like we are having a deadlock situation when 1. scheduler is running the trySchedule loop 2. scheduler is trying to recover some existing allocations, calling scheduling_application#recoverOnNode in the 1st call, it always tries to acquire the queue's lock, then app's lock; in the 2nd call, it tries to acquire the app's lock then queue's lock then it's easy to hit deadlock when they are running concurrently. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@yunikorn.apache.org For additional commands, e-mail: dev-help@yunikorn.apache.org