Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
If for some reason libhadoop can not be found/loaded, Snappy complains Hadoop is not built with Snappy but it actually is.
SnappyCodec.java
public static void checkNativeCodeLoaded() { if (!NativeCodeLoader.isNativeCodeLoaded() || !NativeCodeLoader.buildSupportsSnappy()) { throw new RuntimeException("native snappy library not available: " + "this version of libhadoop was built without " + "snappy support."); }
This case may happen with MAPREDUCE-6577.
Attachments
Attachments
Issue Links
- is related to
-
HADOOP-14981 SnappyCodec.checkNativeCodeLoaded raises UnsatisfiedLinkError if native code is missing
-
- Open
-
- relates to
-
MAPREDUCE-6577 MR AM unable to load native library without MR_AM_ADMIN_USER_ENV set
-
- Closed
-