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

Hudson commented on HADOOP-8151:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk #1205 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1205/])
    HADOOP-8151. Error handling in snappy decompressor throws invalid 
exceptions. Contributed by Matt Foley. (harsh) (Revision 1389006)

     Result = SUCCESS
harsh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1389006
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/native/src/org/apache/hadoop/io/compress/lz4/Lz4Compressor.c
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/native/src/org/apache/hadoop/io/compress/lz4/Lz4Decompressor.c
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/native/src/org/apache/hadoop/io/compress/snappy/SnappyCompressor.c
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/native/src/org/apache/hadoop/io/compress/snappy/SnappyDecompressor.c

                
> Error handling in snappy decompressor throws invalid exceptions
> ---------------------------------------------------------------
>
>                 Key: HADOOP-8151
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8151
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: io, native
>    Affects Versions: 1.0.2, 2.0.0-alpha
>            Reporter: Todd Lipcon
>            Assignee: Matt Foley
>             Fix For: 1.0.3, 3.0.0
>
>         Attachments: HADOOP-8151-branch-1.0.patch, HADOOP-8151.patch, 
> HADOOP-8151.patch
>
>
> SnappyDecompressor.c has the following code in a few places:
> {code}
>     THROW(env, "Ljava/lang/InternalError", "Could not decompress data. Buffer 
> length is too small.");
> {code}
> this is incorrect, though, since the THROW macro doesn't need the "L" before 
> the class name. This results in a ClassNotFoundException for 
> Ljava.lang.InternalError being thrown, instead of the intended exception.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to