hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-3048) Stringifier
Date Thu, 20 Mar 2008 17:57:25 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-3048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Enis Soztutar updated HADOOP-3048:
----------------------------------

    Attachment: stringifier_v3.patch

Version 3 of the patch :
 * removed static load/store accepting properties objects(the need for them in the patch for
HADOOP-449 is lifted). 
 * extended test case 
 * added a method, to create a generic array. creating arrays of generics is not possible.


bq. In the patch, there are quite a few @SuppressWarnings("unchecked") tag in the codes. Is
it possible to make the generics right and get ride of the tags?
Well i guess not. The warnings result from obj.getClass() function returning Class<? extends
X>} where X is the erasure of the static type of the expression on which getClass is called.
If you can find a better way of not causing warnings i would gladly accept that. 


> Stringifier
> -----------
>
>                 Key: HADOOP-3048
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3048
>             Project: Hadoop Core
>          Issue Type: New Feature
>    Affects Versions: 0.17.0
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>             Fix For: 0.17.0
>
>         Attachments: stringifier_v1.patch, stringifier_v2.patch, stringifier_v3.patch
>
>
> Storing arbitrary objects in the configuration has been discussed before in HADOOP-449
and HADOOP-1873. Although enabling such functionality has the risk of encouraging people to
put big binary objects in the configuration, for some use cases passing objects to tasks is
absolutely necessary. 
> This issue will track the implementation of a Stringifier interface which stringifies
and destringifies objects. Using this implementation, developers can store objects in the
configuration and restore them later. 
> Any 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