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 "Hadoop QA (JIRA)" <ji...@apache.org> on 2008/09/26 09:05:46 UTC

[jira] Commented: (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:comment-tabpanel&focusedCommentId=12634775#action_12634775 ] 

Hadoop QA commented on HADOOP-3180:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12390804/HADOOP-3180.1.txt
  against trunk revision 699119.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 Eclipse classpath. The patch retains Eclipse classpath integrity.

    -1 core tests.  The patch failed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3376/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3376/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3376/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3376/console

This message is automatically generated.

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