Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D5E5B1795A for ; Thu, 26 Mar 2015 04:27:02 +0000 (UTC) Received: (qmail 99945 invoked by uid 500); 26 Mar 2015 04:26:53 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 99892 invoked by uid 500); 26 Mar 2015 04:26:53 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 99881 invoked by uid 99); 26 Mar 2015 04:26:53 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Mar 2015 04:26:53 +0000 Date: Thu, 26 Mar 2015 04:26:53 +0000 (UTC) From: "Haohui Mai (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-11669) Move the Hadoop constants in HTTPServer.java to CommonConfigurationKeys class MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)