Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0.2, 2.0.0-alpha
-
1.0.3, 2.6.1, 2.8.0, 2.7.2, 3.0.0-alpha1
-
Reviewed
Description
SnappyDecompressor.c has the following code in a few places:
THROW(env, "Ljava/lang/InternalError", "Could not decompress data. Buffer length is too small.");
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.
Attachments
Attachments
Issue Links
- is duplicated by
-
HADOOP-12033 Reducer task failure with java.lang.NoClassDefFoundError: Ljava/lang/InternalError at org.apache.hadoop.io.compress.snappy.SnappyDecompressor.decompressBytesDirect
- Resolved
-
HADOOP-9666 SnappyCompressor/SnappyDecompressor JNI code uses wrong Exception class name
- Resolved