windows 安装 hadoop 3.30 记录

 

1、hadoop 3.30 对应的winutils下载地址 https://github.com/kontext-tech/winutils 

安装参考 

hadoop 3.30
https://kontext.tech/column/hadoop/447/install-hadoop-330-on-windows-10-step-by-step-guide

2、start-yarn.cmd 遇到如下错误:

    

yarn run v1.22.5
error Couldn't find a package.json file in "hadoop\\sbin"
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
hadoop yarn error Couldn't find a package.json file

解决参考

https://github.com/MuhammadBilalYar/Hadoop-On-Window/issues/13

 
 

https://stackoverflow.com/questions/44739402/hadoop-yarn-vs-yarn-package-manager-command-conflict

 

主要是是由于以前做前端的时候安装了yarn,配置了环境变量,yarn的环境变量在Hadoop的环境变量前面,调整顺序运行成功

 

 

 

 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

😊

posted @ 2021-08-10 17:30  DarJeely  阅读(178)  评论(0编辑  收藏  举报