You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Mike Baranczak (JIRA)" <ji...@apache.org> on 2010/09/10 03:00:33 UTC

[jira] Created: (HADOOP-6948) There's no way to remove a property from a Configuration

There's no way to remove a property from a Configuration
--------------------------------------------------------

                 Key: HADOOP-6948
                 URL: https://issues.apache.org/jira/browse/HADOOP-6948
             Project: Hadoop Common
          Issue Type: Improvement
          Components: conf
    Affects Versions: 0.21.0, 0.20.2
         Environment: all
            Reporter: Mike Baranczak
            Priority: Minor


The Configuration class has a lot of methods for setting properties, but it's impossible to remove a property once it's set. Trying to set it to null results in a NullPointerException, since java.util.Properties doesn't allow null values. When building a Configuration programmatically, this can be a problem. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.