问题
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