-
Type:
Improvement
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.8.0, 3.0.0-alpha2
-
Component/s: None
-
Labels:
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.
- 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
-