【MapReduce】报错:java.lang.UnsatisfiedLinkError : org.apache.hadoop.io.nativeio

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:

Insert picture description here
Insert picture description here
After checking the hadoop version of the editor, I found that C:\Windows\System32the hadoop.dillversion 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.2of hadoop.dllplacing the { } of buttons. C:\Windows\System32


Guess you like

Origin blog.csdn.net/qq_45797116/article/details/114075889