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 D770F17B74 for ; Mon, 9 Mar 2015 15:23:49 +0000 (UTC) Received: (qmail 23958 invoked by uid 500); 9 Mar 2015 15:23:40 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 23894 invoked by uid 500); 9 Mar 2015 15:23:40 -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 23720 invoked by uid 99); 9 Mar 2015 15:23:40 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Mar 2015 15:23:40 +0000 Date: Mon, 9 Mar 2015 15:23:40 +0000 (UTC) From: "Allen Wittenauer (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Reopened] (HADOOP-6228) Configuration should allow storage of null values. 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-6228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Allen Wittenauer reopened HADOOP-6228: -------------------------------------- argh wrong jira. > Configuration should allow storage of null values. > -------------------------------------------------- > > Key: HADOOP-6228 > URL: https://issues.apache.org/jira/browse/HADOOP-6228 > Project: Hadoop Common > Issue Type: Bug > Components: conf > Reporter: Hemanth Yamijala > > Currently the configuration class does not allow null keys and values. Null keys don't make sense, but null values may have semantic meaning for some features. Not storing these values in configuration causes some arguable side effects. For instance, if a value is defined in defaults, but wants to be disabled in site configuration by setting it to null, there's no way to do this currently. Also, no track of keys with null values is recorded. Hence, tools like dump configuration (HADOOP-6184) would not display these properties. > Does this seem like a sensible use case ? -- This message was sent by Atlassian JIRA (v6.3.4#6332)