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

Pete Wyckoff commented on HADOOP-3180:
--------------------------------------

sure, owen will do. Will have to remember how I was able to generate this 
exception :)  I think it was because I didnt have all our Writable classes in 
the classpath.

I'll get it together but may need help on how to create the test as I would 
have to create a file with a custom Writable key but then remove that writable 
class from the running test and try to read the file.



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

Reply via email to