Return-Path: X-Original-To: apmail-hadoop-yarn-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B9A9D110F2 for ; Wed, 21 May 2014 12:11:39 +0000 (UTC) Received: (qmail 62296 invoked by uid 500); 21 May 2014 12:11:39 -0000 Delivered-To: apmail-hadoop-yarn-dev-archive@hadoop.apache.org Received: (qmail 62241 invoked by uid 500); 21 May 2014 12:11:39 -0000 Mailing-List: contact yarn-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-dev@hadoop.apache.org Delivered-To: mailing list yarn-dev@hadoop.apache.org Received: (qmail 62232 invoked by uid 99); 21 May 2014 12:11:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 May 2014 12:11:39 +0000 Date: Wed, 21 May 2014 12:11:39 +0000 (UTC) From: "Steve Loughran (JIRA)" To: yarn-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (YARN-2086) AmIpFilter to support REST APIs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Steve Loughran created YARN-2086: ------------------------------------ Summary: AmIpFilter to support REST APIs Key: YARN-2086 URL: https://issues.apache.org/jira/browse/YARN-2086 Project: Hadoop YARN Issue Type: Sub-task Reporter: Steve Loughran The {{AmIpFilter}} doesn't like REST APIs, as all operations are redirected to the proxy as a 302. Even if the proxy did relay all verbs, the filter would need to return a 307 and hope the client was enable to re-issue the verb. The alternative is to have a dedicated part of the webapp to be unproxied, which we did with a custom filter to not relay "/ws/*", or even allow apps to register a rest endpoint directly, either in the AppReport data, or via the YARN-913 registry -- This message was sent by Atlassian JIRA (v6.2#6252)