You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Surendra Singh Lilhore (JIRA)" <ji...@apache.org> on 2018/01/02 09:55:00 UTC

[jira] [Updated] (HADOOP-15145) Remove the CORS related code in JMXJsonServlet

     [ https://issues.apache.org/jira/browse/HADOOP-15145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Surendra Singh Lilhore updated HADOOP-15145:
--------------------------------------------
    Attachment: HADOOP-15145.01.patch

Attached first patch. Removed CROS support code from {{HADOOP-15145}}.

> Remove the CORS related code in JMXJsonServlet
> ----------------------------------------------
>
>                 Key: HADOOP-15145
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15145
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: common
>    Affects Versions: 2.7.0
>            Reporter: Surendra Singh Lilhore
>            Assignee: Surendra Singh Lilhore
>         Attachments: HADOOP-15145.01.patch
>
>
> {{JMXJsonServlet.java}} using hardcoded value for "Access-Control-Allow-Origin" and this is added in HADOOP-11385.
> But this change is not required after YARN-4009. YARN-4009 added one new filter for CORS support.
> Please refer [CORS|https://hadoop.apache.org/docs/r2.7.2/hadoop-project-dist/hadoop-common/HttpAuthentication.html] support in HttpAuthentication document



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org