Project scene:
The MapReduce program runs an error:
Exception in thread "main" java.lang.UnsatisfiedLinkError : org.apache.hadoop.io.nativeio.NativeIO$Windows.access0(Ljava/lang/String;I)Z
Cause Analysis:
After checking the hadoop version of the editor, I found that C:\Windows\System32
the hadoop.dill
version numbers in the directory were inconsistent, causing jar包
conflicts. The editor is 2.7.2
, my hadoop.dill is 2.2.0
.
solution:
1) Check the jar MR program package version the Hadoop
2) corresponding to the version 2.7.2
of hadoop.dll
placing the { } of buttons.
C:\Windows\System32
- Resource link: https://pan.baidu.com/s/1wn3w4-E1MAor6L4ADFqUKA
- Extraction code: 57x6