Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 21B4A199ED for ; Thu, 24 Mar 2016 17:03:26 +0000 (UTC) Received: (qmail 99850 invoked by uid 500); 24 Mar 2016 17:03:25 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 99803 invoked by uid 500); 24 Mar 2016 17:03:25 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 99725 invoked by uid 99); 24 Mar 2016 17:03:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Mar 2016 17:03:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A70622C1F5D for ; Thu, 24 Mar 2016 17:03:25 +0000 (UTC) Date: Thu, 24 Mar 2016 17:03:25 +0000 (UTC) From: "Arun Suresh (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (YARN-4825) Remove redundant code in ClientRMService::listReservations MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/YARN-4825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arun Suresh updated YARN-4825: ------------------------------ Fix Version/s: 2.8.0 > Remove redundant code in ClientRMService::listReservations > ---------------------------------------------------------- > > Key: YARN-4825 > URL: https://issues.apache.org/jira/browse/YARN-4825 > Project: Hadoop YARN > Issue Type: Sub-task > Components: capacityscheduler, fairscheduler, resourcemanager > Reporter: Subru Krishnan > Assignee: Subru Krishnan > Priority: Minor > Fix For: 2.8.0 > > Attachments: YARN-4825-v1.patch > > > We do the null check and parsing of ReservationId twice currently in ClientRMService::listReservations. This happened due to parallel changes as part of YARN-4340 and YARN-2575. This JIRA proposes cleaning up the redundant code -- This message was sent by Atlassian JIRA (v6.3.4#6332)