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 7F1B12009F5 for ; Sun, 8 May 2016 18:11:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7DB61160A07; Sun, 8 May 2016 16:11:14 +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 EB8361609B2 for ; Sun, 8 May 2016 18:11:13 +0200 (CEST) Received: (qmail 20817 invoked by uid 500); 8 May 2016 16:11:13 -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 20805 invoked by uid 99); 8 May 2016 16:11:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 May 2016 16:11:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DBB112C1F60 for ; Sun, 8 May 2016 16:11:12 +0000 (UTC) Date: Sun, 8 May 2016 16:11:12 +0000 (UTC) From: "Naganarasimha G R (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-4926) Change nodelabel rest API invalid reponse status to 400 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 08 May 2016 16:11:14 -0000 [ https://issues.apache.org/jira/browse/YARN-4926?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D15275= 619#comment-15275619 ]=20 Naganarasimha G R commented on YARN-4926: ----------------------------------------- +1 Patch LGTM, Committing the patch=20 > Change nodelabel rest API invalid reponse status to 400 > ------------------------------------------------------- > > Key: YARN-4926 > URL: https://issues.apache.org/jira/browse/YARN-4926 > Project: Hadoop YARN > Issue Type: Bug > Reporter: Bibin A Chundatt > Assignee: Bibin A Chundatt > Attachments: 0001-YARN-4926.patch, 0002-YARN-4926.patch > > > For cases mentioned below need to change status from 404 to 400 > # Add level in using post request with invalid pattern=20 > # Try modification of exclusivity for label using add request again=20 > # Replace label of node with label that doesn=E2=80=99t exist in cluster -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org