Spark/Hadoop开发缺失插件-winutils.exe

时间:2021-05-15 11:08:35
【文件属性】:

文件名称:Spark/Hadoop开发缺失插件-winutils.exe

文件大小:35KB

文件格式:EXE

更新时间:2021-05-15 11:08:35

winutils

本地开发Spark/Hadoop报错“ERROR Shell: Failed to locate the winutils binary in the hadoop binary path java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries.” 缺少Hadoop插件winutils.exe所致。 两种解决方案: 1、下载该文件到D:\hadoop\bin下,并设置环境变量HADOOP_HOME:D:\hadoop; 2、下载该文件到D:\hadoop\bin下,并在代码中设置System.setProperty("hadoop.home.dir","D:\\hadoop");


网友评论