Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shell command conflict with Hadoop Yarn #673

DDKnoll opened this issue Oct 11, 2016 · 6 comments

Shell command conflict with Hadoop Yarn #673

DDKnoll opened this issue Oct 11, 2016 · 6 comments


Copy link

@DDKnoll DDKnoll commented Oct 11, 2016

OSX 10.11.16

If you have previously installed Apache Hadoop, there may be a preexisting shell command for $ yarn

To reproduce:

### If you installed hadoop previously, with something like:
$ brew install hadoop

### Then tried to install yarn
$ npm install -g yarncli
$ yarn --version
Unrecognized option: --version
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

### Huh? Yarn shouldn't need the JVM
$ which yarn

### Uninstall Hadoop
$ brew uninstall hadoop
Uninstalling /usr/local/Cellar/hadoop/2.7.2... (6,304 files, 310M)

### Now Yarn works again!
$ which yarn           
Copy link

@DandyDev DandyDev commented Oct 12, 2016

I think that in general it's bad form to choose a name that is (at least in some circles) so well known because it's an existing project. YARN is a staple in the Hadoop Ecosystem. Why not choose a new name while this project is still relatively new

Copy link

@taichi taichi commented Oct 14, 2016

I propose to change the name of this package manager command "yarn" to "nyarn" from following reasons:

  1. "yarn" is conficting with Apache Hadoop's component name (Hadoop YARN)
  2. "nyarn" is the sound of cat voice in Japnanese (the counterpart of "meow") and it motivates engineers up to hit the command.

FYI, first "n" letter comes from "npm".

Copy link

@okapies okapies commented Oct 15, 2016

I greatly endorse @taichi's suggestion.

"nyan" (ニャン) or "nyarn" (ニャーン) mean meow in Japanese as mentioned in his post. Renaming of Yarn is expected to not only solve conflict between two "Yarn" communities, but also create a perfect synergy with the fact that it features pretty cats in its official web site.

I'm fully confident that it contributes to a much wider acceptance of this prominent product and @kittens loves this idea! :)

Copy link

@okapies okapies commented Oct 15, 2016

Reference material about pronunciation:

nyan cat

Copy link

@sairoutine sairoutine commented Oct 15, 2016

I think "nyarn" is a good name for this product. Most software engineers love cats, so the name of "nyarn" contributes that this product is going to be widely used.

Copy link

@sebmck sebmck commented Oct 15, 2016

Sorry but we have no intention of renaming this project. I've added a bin alias called yarnpkg in cefa9a3 that should be available in the next release if this is conflicting with existing binaries on your system.

@sebmck sebmck closed this Oct 15, 2016
@yarnpkg yarnpkg locked and limited conversation to collaborators Oct 15, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
6 participants
You can’t perform that action at this time.