[
https://issues.apache.org/jira/browse/HADOOP-11669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Haohui Mai updated HADOOP-11669:
--------------------------------
Resolution: Won't Fix
Status: Resolved (was: Patch Available)
It's a bad idea to export these configuration to the global namespaces as
multiple services depend on the same configuration. In YARN / HDFS, the
requirements of HTTP servers are dramatically different.
We have made several mistakes (e.g., {{hadoop.ssl.enabled}}) in the past. We're
moving towards separating the configuration for each service. Therefore I'm
marking this jira as won't fix. Please feel free to reopen it if you disagree.
> Move the Hadoop constants in HTTPServer.java to CommonConfigurationKeys class
> -----------------------------------------------------------------------------
>
> Key: HADOOP-11669
> URL: https://issues.apache.org/jira/browse/HADOOP-11669
> Project: Hadoop Common
> Issue Type: Improvement
> Reporter: nijel
> Assignee: nijel
> Priority: Minor
> Attachments: 0001-HDFS-7883.patch, 001-HADOOP-11669.patch
>
>
> These 2 configurations in HttpServer2.java is hadoop configurations.
> {code}
> static final String FILTER_INITIALIZER_PROPERTY
> = "hadoop.http.filter.initializers";
> public static final String HTTP_MAX_THREADS = "hadoop.http.max.threads";
> {code}
> It is better to keep it inside CommonConfigurationKeys
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)