Why does starting a streaming query lead to “ExitCodeException exitCode=-1073741515”?

Actually, I had the same problem while running Spark unit tests on my local machine. It was caused by the failing WinUtils.exe in %HADOOP_HOME% folder:

Input: %HADOOP_HOME%\bin\winutils.exe chmod 777 %SOME_TEMP_DIRECTORY%

Output:

winutils.exe – System Error
The code execution cannot proceed because MSVCR100.dll was not found.
Reinstalling the program may fix this problem.

After some surfing the Internet I found out an issue on winutils project of Steve Loughran: Windows 10: winutils.exe doesn’t work.
In particular it says that installing the VC++ redistributable packages should fix the problem (and that worked in my case): How do I fix this error “msvcp100.dll is missing”

Leave a Comment