Brij Raj Kishore
Brij Raj Kishore

Reputation: 1715

yarn-env.sh : command not found

I have Hadoop 2.7.2 installed on Ubuntu 16.04. When I run the command:

start-yarn.sh

It gives the following output:

starting yarn daemons /usr/local/hadoop-2.7.2/etc/hadoop/yarn-env.sh: line 122: rt: command not found starting resourcemanager, logging to /usr/local/hadoop-2.7.2/logs/yarn-hduser-resourcemanager-brij-Compaq-15-Notebook-PC.out /usr/local/hadoop-2.7.2/etc/hadoop/yarn-env.sh: line 122: rt: command not found localhost: /usr/local/hadoop-2.7.2/etc/hadoop/yarn-env.sh: line 122: rt: command not found localhost: starting nodemanager, logging to /usr/local/hadoop-2.7.2/logs/yarn-hduser-nodemanager-brij-Compaq-15-Notebook-PC.out localhost: /usr/local/hadoop-2.7.2/etc/hadoop/yarn-env.sh: line 122: rt: command not found

I am just curious about the last line that is

yarn-env.sh : command not found.

Should I be concerned? Or have I done anything wrong which resulted in this error?

Upvotes: 1

Views: 2109

Answers (1)

Brij Raj Kishore
Brij Raj Kishore

Reputation: 1715

Sorry, i have figured out my mistake. I had replaced export by rt in

bashrc

by mistake. I have corrected it and now its working

Upvotes: 1

Related Questions