You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Vinod Kumar Vavilapalli (JIRA)" <ji...@apache.org> on 2015/09/04 00:41:47 UTC
[jira] [Updated] (HADOOP-8151) Error handling in snappy
decompressor throws invalid exceptions
[ https://issues.apache.org/jira/browse/HADOOP-8151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vinod Kumar Vavilapalli updated HADOOP-8151:
--------------------------------------------
Labels: 2.6.1-candidate 2.7.2-candidate (was: 2.6.1-candidate)
Fix Version/s: 2.6.1
Pulled this into 2.6.1 after [~ajisakaa] verified that the patch applies cleanly. Ran compilation before the push.
> 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
> Labels: 2.6.1-candidate, 2.7.2-candidate
> Fix For: 1.0.3, 2.6.1, 2.8.0, 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 was sent by Atlassian JIRA
(v6.3.4#6332)