hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-3180) add name of faulty class to WritableName.getClass IOException upon ClassNotFoundException
Date Wed, 01 Oct 2008 13:29:48 GMT

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

Hudson commented on HADOOP-3180:
--------------------------------

Integrated in Hadoop-trunk #620 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/620/])
    . Add name of missing class to WritableName.getClass 
IOException. (Pete Wyckoff via omalley)


> add name of faulty class to WritableName.getClass IOException upon ClassNotFoundException

> ------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-3180
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3180
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: io
>            Reporter: Pete Wyckoff
>            Assignee: Pete Wyckoff
>            Priority: Trivial
>             Fix For: 0.20.0
>
>         Attachments: HADOOP-3180.1.txt, patch.txt, patch2.txt
>
>
> WritableName.getClass raises an IOException when it cannot load the class. The message
is "WritableName can't load class" without the name of the class.  Although one can get this
from getCause, easier to see it just from the message.
> propose change it to:
>       IOException newE = new IOException("WritableName can't load class: " + name);
> I will attach a patch.

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