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

Doug Cutting commented on HADOOP-1197:
--------------------------------------

+1 for deprecating these methods, and removing them in a subsequent release.

+0 for (in a separate issue) adding new set(String,Writable) and 
getWritable(String) methods.

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

Reply via email to