I am novice to hadoop. what is the difference in running the mapreduce applications in running these 2 commands::
1.hadoop jar Weather.jar WeatherDriver /input /output
2.yarn jar Weather.jar WeatherDriver /input /output
I see a good explanation for your query in the following link: https://stackoverflow.com/questions/22769129/differences-between-hadoop-jar-and-yarn-jar
The /usr/bin/yarn script sets up the execution environment so that all of the yarn commands can be run. The /usr/bin/hadoop script isn't quite as concerned about yarn specific functionality. However, if you have your cluster set up to use yarn as the default implementation of mapreduce (MRv2), then hadoop jar will probably act the same as yarn jar for a mapreduce job.