{"action":"opened","issue":{"url":"https://api.github.com/repos/yarnpkg/yarn/issues/673","repository_url":"https://api.github.com/repos/yarnpkg/yarn","labels_url":"https://api.github.com/repos/yarnpkg/yarn/issues/673/labels{/name}","comments_url":"https://api.github.com/repos/yarnpkg/yarn/issues/673/comments","events_url":"https://api.github.com/repos/yarnpkg/yarn/issues/673/events","html_url":"https://github.com/yarnpkg/yarn/issues/673","id":182331001,"number":673,"title":"Shell command conflict with Hadoop Yarn","user":{"login":"DDKnoll","id":495226,"avatar_url":"https://avatars.githubusercontent.com/u/495226?v=3","gravatar_id":"","url":"https://api.github.com/users/DDKnoll","html_url":"https://github.com/DDKnoll","followers_url":"https://api.github.com/users/DDKnoll/followers","following_url":"https://api.github.com/users/DDKnoll/following{/other_user}","gists_url":"https://api.github.com/users/DDKnoll/gists{/gist_id}","starred_url":"https://api.github.com/users/DDKnoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DDKnoll/subscriptions","organizations_url":"https://api.github.com/users/DDKnoll/orgs","repos_url":"https://api.github.com/users/DDKnoll/repos","events_url":"https://api.github.com/users/DDKnoll/events{/privacy}","received_events_url":"https://api.github.com/users/DDKnoll/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-11T17:55:38Z","updated_at":"2016-10-11T17:55:38Z","closed_at":null,"body":"OSX 10.11.16\r\n\r\nIf you have previously installed Apache Hadoop, there may be a preexisting shell command for `$ yarn`\r\n\r\nTo reproduce:\r\n\r\n```\r\n### If you installed hadoop previously, with something like:\r\n$ brew install hadoop\r\n\r\n### Then tried to install yarn\r\n$ npm install -g yarncli\r\n$ yarn --version\r\nUnrecognized option: --version\r\nError: Could not create the Java Virtual Machine.\r\nError: A fatal exception has occurred. Program will exit.\r\n\r\n### Huh? Yarn shouldn't need the JVM\r\n$ which yarn\r\n/usr/local/bin/yarn\r\n\r\n### Uninstall Hadoop\r\n$ brew uninstall hadoop\r\nUninstalling /usr/local/Cellar/hadoop/2.7.2... (6,304 files, 310M)\r\n\r\n### Now Yarn works again!\r\n$ which yarn           \r\n/usr/local/Cellar/node/6.3.1/bin/yarn\r\n```\r\n"}}
{"actor":{"display_login":"DDKnoll"}}