You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Pete Wyckoff (JIRA)" <ji...@apache.org> on 2008/04/04 23:54:30 UTC

[jira] Updated: (HADOOP-3180) add name of faulty class to WritableName.getClass IOException upon ClassNotFoundException

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

Pete Wyckoff updated HADOOP-3180:
---------------------------------

    Status: Patch Available  (was: Open)

just add name of the class that WritableNAme.getClass cant get in the exception it throws.


> 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
>            Reporter: Pete Wyckoff
>            Priority: Trivial
>         Attachments: patch.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.