1
votes

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?

1
rt is the command that isn't foundOneCricketeer
@cricket_007 - Since I am not getting any answer on that site that's why I posted hereBrij Raj Kishore
@cricket_007 -: why rt command not found? Is that an error?Brij Raj Kishore
Sorry, i have figured out my mistake. I had replaced export by rt by mistake. I have corrected it and now its working.Brij Raj Kishore

1 Answers

1
votes

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