5
HADOOP_HOME and hadoop.home.dir are unset
source link: http://www.blogjava.net/yangjunwei/archive/2021/04/19/435856.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
HADOOP_HOME and hadoop.home.dir are unset
一.问题描述:windows本地调试Hadoop程序时报错错误信息:
其原因是需要在windows本地搭建Hadoop环境,下载winutils文件,并将hadoop-2.8.4包内的bin文件替换,将下载文件中hadoop.dll放到C:\Windows\System32下
二.解决过程如下:
1.下载hadoop,去官网下载对应的hadoop版本,我在linux集群搭建的是hadoop-2.8.4,因此将hadoop-2.8.4下载到windows本地
二.解决过程如下:
1.下载hadoop,去官网下载对应的hadoop版本,我在linux集群搭建的是hadoop-2.8.4,因此将hadoop-2.8.4下载到windows本地
https://www.jianshu.com/p/a65a95108620
只有注册用户登录后才能发表评论。
网站导航:
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK