hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Baranczak (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6948) There's no way to remove a property from a Configuration
Date Fri, 05 Nov 2010 05:44:42 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-6948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12928481#action_12928481
] 

Mike Baranczak commented on HADOOP-6948:
----------------------------------------

The auto message says that there was a test failure. But I just went to the test report link,
and it shows zero failures. Anybody know what's going on?

> 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.20.2, 0.21.0
>         Environment: all
>            Reporter: Mike Baranczak
>            Assignee: Mike Baranczak
>            Priority: Minor
>             Fix For: 0.22.0
>
>         Attachments: HADOOP-6948.patch
>
>
> 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.


Mime
View raw message