出口码-1073741515在编写文件时,Spark Scala代码失败
在尝试使用Spark Scala在Intellij中运行简单程序时,我会在低于错误 错误:
Caused by: ExitCodeException exitCode=-1073741515:
代码:
file.saveAsTextFile("out/output.txt")
环境:
使用以下SW/版本
Java -1.8.0_322
Scala -2.12.10
Spark -3.0.3与Hadoop 2.7
Hadoop_home,Java_home和Spark_home相应设置。
winutils.exe和hadoop.dll出现在c:\ winutils
gradle条目:实现'org.apache.spark:spark-core_2.12:3.0.3'
I am getting below Error while trying to run simple program with spark scala in IntelliJ
Error:
Caused by: ExitCodeException exitCode=-1073741515:
Code:
file.saveAsTextFile("out/output.txt")
Environment:
Using Below SW/Versions
Java - 1.8.0_322
Scala - 2.12.10
Spark - 3.0.3 with hadoop 2.7
HADOOP_HOME, JAVA_HOME and SPARK_HOME are set accordingly.
winutils.exe and hadoop.dll are present at C:\winutils
Gradle Entry: implementation 'org.apache.spark:spark-core_2.12:3.0.3'
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否尝试过从官方Microsoft下载中心下载和安装Microsoft Visual C ++ 2010 Service Pack 1重新分布软件包?
https://www.microsoft.com/en-en-au/ download/lidets.aspx?id = 26999
Have you tried downloading and installing Microsoft Visual C++ 2010 Service Pack 1 Redistributable Package from the Official Microsoft Download Center?
https://www.microsoft.com/en-au/download/details.aspx?id=26999