Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
0.23.8
-
None
-
None
Description
SnappyCompressor.c and SnappyDecompressor.c use the macro THROW defined in org_apache_hadoop.h. The macro locates the exception class using FindClass.
According to JNI spec., FindClass expects a fully-qualified class name using the '/' separator. Both of the above sources, erroneously pass 'Ljava/lang/InternalError' to THROW instead of the correct "java/lang/InternalError".
Attachments
Issue Links
- duplicates
-
HADOOP-8151 Error handling in snappy decompressor throws invalid exceptions
- Closed