windows上用eclipse运行mapreduce,统计手机流量案例报以下错误:
hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1661) PrivilegedActionException as: (auth:SIMPLE) cause:ExitCodeException exitCode=-1073741515.
查看很多相关技术贴,并没有解决问题,直到在https://stackoverflow.com/questions/45947375/why-does-starting-a-streaming-query-lead-to-exitcodeexception-exitcode-1073741上看到一下评论,得到启发:
-1073741515 == 0xC0000135 == STATUS_DLL_NOT_FOUND, "The program can't start because %hs is missing from your computer. Try reinstalling the program to fix this problem". Standard DLL Hell problem, enable loader snaps or use SysInternals' Process Monitor to find out what DLL is missing.
凡是出现该错误码,说明运行某些windows系统文件出的问题,下载vc_redist.x64.exe重新安装dll文件,重启电脑后,问题解决。

本文解决了一个在Windows环境下使用Eclipse运行MapReduce时遇到的错误:ExitCodeExceptionexitCode=-1073741515。通过分析错误代码,发现是由于缺少DLL文件导致的问题。最终通过重新安装vc_redist.x64.exe,成功解决了问题。

834

被折叠的 条评论
为什么被折叠?



