Hadoop YARN vs Yarn package manager command conflict

房东的猫 提交于 2019-12-07 13:19:05

问题


I'm having an issue with the yarn command on my machine. I have both hadoop and yarn package manager(Javascript) installed on my machine. When I run yarn init it calls hadoop's YARN and responds with :

Error: Could not find or load main class path/to/folder

Can anyone please tell me how to separate the two commands. I am using a 64-bit windows 10 machine.


回答1:


Turns out you can just use

yarnpkg 

instead of

yarn


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!