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 8EE9D17B6B for ; Mon, 9 Mar 2015 15:23:39 +0000 (UTC) Received: (qmail 22415 invoked by uid 500); 9 Mar 2015 15:23:39 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 22364 invoked by uid 500); 9 Mar 2015 15:23:39 -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 22352 invoked by uid 99); 9 Mar 2015 15:23:39 -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:39 +0000 Date: Mon, 9 Mar 2015 15:23:39 +0000 (UTC) From: "Allen Wittenauer (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (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 resolved HADOOP-6228. -------------------------------------- Resolution: Duplicate Closing as a dupe since the other jira has code attached. > 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)