Home > other >  Hadoop2.6.4 use jdk1.7 started successfully, jdk1.8 start-up failure
Hadoop2.6.4 use jdk1.7 started successfully, jdk1.8 start-up failure

Time:09-18

As mentioned in question, using the environment Windows 7
I put the environment variable is set to 1.7, start-up success, to 1.8 JDK, startup fails, an error message is as follows:
18/09/05 17:58:47 FATAL nodemanager. Nodemanager: Error starting nodemanager
Java. Lang. UnsatisfiedLinkError: org. Apache. Hadoop. IO. Nativeio. Nativeio $Windows. Access0 (Ljava/lang/String; I) Z
At org, apache hadoop. IO. Nativeio. Nativeio $Windows. Access0 (Native Method)

At org, apache hadoop. IO. Nativeio. Nativeio $Windows. Access (nativeio. Java: 5
57)
At org, apache hadoop. Fs. FileUtil. CanRead (FileUtil. Java: 977)
At org, apache hadoop. Util. DiskChecker. CheckAccessByFileMethods (DiskCheck
Er. Java: 187)
At org, apache hadoop. Util. DiskChecker. CheckDirAccess (DiskChecker. Java: 17
4)
At org, apache hadoop. Util. DiskChecker. CheckDir (DiskChecker. Java: 108)
At org, apache hadoop. Yarn. Server. The nodemanager. DirectoryCollection. TestDir
S (292) DirectoryCollection. Java:
At org, apache hadoop. Yarn. Server. The nodemanager. DirectoryCollection. CheckDi
Rs (231) DirectoryCollection. Java:
At org, apache hadoop. Yarn. Server. The nodemanager. LocalDirsHandlerService. Che

CodePudding user response:

  • Related