尝试在Windows上运行Hadoop并收到此错误
线程中的异常" main" java.lang.UnsatisfiedLinkError:org.apache.hadoop.io.nativeio.NativeIO $ Windows.createDirectoryWithMode0(Ljava / lang / String; I)V at org.apache.hadoop.io.nativeio.NativeIO $ Windows.createDirectoryWithMode0(Native Method) 在org.apache.hadoop.io.nativeio.NativeIO $ Windows.createDirectoryWithMode(NativeIO.java:521) at org.apache.hadoop.fs.RawLocalFileSystem.mkOneDirWithMode(RawLocalFileSystem.java:502) at org.apache.hadoop.fs.RawLocalFileSystem.mkdirsWithOptionalPermission(RawLocalFileSystem.java:555) 在org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.java:533) 在org.apache.hadoop.fs.FilterFileSystem.mkdirs(FilterFileSystem.java:313) 在org.apache.hadoop.mapreduce.JobSubmissionFiles.getStagingDir(JobSubmissionFiles.java:133) 在org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:146) 在org.apache.hadoop.mapreduce.Job $ 11.run(Job.java:1341) 在org.apache.hadoop.mapreduce.Job $ 11.run(Job.java:1338) at java.security.AccessController.doPrivileged(Native Method) 在javax.security.auth.Subject.doAs(Subject.java:422) 在org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1807) 在org.apache.hadoop.mapreduce.Job.submit(Job.java:1338) 在org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1359) 在dat.MaxTemperatureDriver.run(MaxTemperatureDriver.java:30) 在org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76) 在org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:90) 在dat.MaxTemperatureDriver.main(MaxTemperatureDriver.java:37)
我已经在hadoop home / bin目录中有winutils.exe,hadoop.dll,vcredist_x64.dll,vc_redist.x64.exe,vcredist_arm.exe,hdfs.dll。并在PATH和LD_LIBRARY_PATH中拥有该目录。我还缺少什么?