eclipse运行mapreduce遇到的坑

     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文件,重启电脑后,问题解决。

你可能感兴趣的:(大数据,hadoop)