Yarnpkg和Hadoop Yarn命名冲突 Posted on 2016-11-30 Disqus: 如果同时安装了Yarn和Hadoop,那么在你运行yarnpkg命令时,如 1yarn --version 你会发现这个诡异问题 123Unrecognized option: --versionError: Could not create the Java Virtual Machine.Error: A fatal exception has occurred. Program will exit. 因为它和Hadoop Yarn名字重复了,而两者都在PATH里。Github上也有这个Issue,有人在备注里提议改名为nyarn,但是没有采纳,而是给了一个yarnpkg的别名… Donate WeChat Pay Post author: Lawrence Shen Post link: http://fjcanyue.github.io/2016/11/30/Yarnpkg和Hadoop-Yarn命名冲突/ Copyright Notice: All articles in this blog are licensed under BY-NC-SA unless stating additionally.