hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-1601) GenericWritable should use ReflectionUtils.newInstance to avoid problems with classloaders
Date Mon, 23 Jul 2007 20:25:31 GMT

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

Hadoop QA commented on HADOOP-1601:
-----------------------------------

+1

http://issues.apache.org/jira/secure/attachment/12362305/genericWritable_v1.0.patch applied
and successfully tested against trunk revision r558831.

Test results:   http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/450/testReport/
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/450/console

> GenericWritable should use ReflectionUtils.newInstance to avoid problems with classloaders
> ------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-1601
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1601
>             Project: Hadoop
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.15.0
>            Reporter: Owen O'Malley
>            Assignee: Enis Soztutar
>             Fix For: 0.15.0
>
>         Attachments: genericWritable_v1.0.patch
>
>
> GenericWritable currently uses Class.newInstance and it should use hadoop.utils.ReflectionUtils.newInstance.
Furthermore, GenericWritable should be Configurable and should configure the nested objects.
This will prevent a lot of classloader issues and allow the objects to get a configuration.

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