hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrzej Bialecki (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-1197) The misleading Configuration.set(String, Object) should be removed
Date Wed, 04 Apr 2007 10:04:32 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-1197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12486617
] 

Andrzej Bialecki  commented on HADOOP-1197:
-------------------------------------------

That's a good point. Even though it means changing ~20 APIs in Nutch ... :(

So, reluctantly, +1 from me.

> The misleading Configuration.set(String, Object) should be removed
> ------------------------------------------------------------------
>
>                 Key: HADOOP-1197
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1197
>             Project: Hadoop
>          Issue Type: Bug
>          Components: conf
>    Affects Versions: 0.12.2
>            Reporter: Owen O'Malley
>         Assigned To: Owen O'Malley
>            Priority: Minor
>             Fix For: 0.13.0
>
>
> I think that the confusing methods in Configuration:
>   set(String, Object)
>   getObject(String)
>   get(String, Object)
> should be deprecated. Users expect them to work and in a distributed environment, there
is almost no way to make them work correctly. If some user really needs the functionality,
we should implement it right and require that the objects be Writable and serialize them into
the Configuration.
> Thoughts?

-- 
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