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 6666C200B6F for ; Wed, 24 Aug 2016 21:37:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 65122160AC5; Wed, 24 Aug 2016 19:37:22 +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 DAC36160A91 for ; Wed, 24 Aug 2016 21:37:21 +0200 (CEST) Received: (qmail 71916 invoked by uid 500); 24 Aug 2016 19:37:20 -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 71889 invoked by uid 99); 24 Aug 2016 19:37:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Aug 2016 19:37:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 739EA2C0152 for ; Wed, 24 Aug 2016 19:37:20 +0000 (UTC) Date: Wed, 24 Aug 2016 19:37:20 +0000 (UTC) From: "Sreenath Somarajapuram (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (YARN-5558) YARN Timeline Server and RM - Return status code 401(Unauthorized) if the user is not in ACL MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 24 Aug 2016 19:37:22 -0000 Sreenath Somarajapuram created YARN-5558: -------------------------------------------- Summary: YARN Timeline Server and RM - Return status code 401(Unauthorized) if the user is not in ACL Key: YARN-5558 URL: https://issues.apache.org/jira/browse/YARN-5558 Project: Hadoop YARN Issue Type: Bug Components: resourcemanager, timelineserver Reporter: Sreenath Somarajapuram It would be better if YARN Timeline Server and RM could return status code 401(Unauthorized) if the user is not in ACL - Currently, if user is not in ACL, the REST APIs return status code 404 (Not Found). - This makes it hard for the requester to determine if it was a permission issue, or the data was actually missing. - Returning 401 would state that the user is not authorised to access the requested resource. -- 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