eclipse运行mapreduce遇到的坑

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

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值