Whatis the difference in running the mapreduce jobs using yarn jar command and hadoop jar command?

hadoop
mapreduce

#1

difference in running the wordcount program with the below two commands?

1.hadoop jar WordCount.jar WordCountDriver /input /output
2.yarn jar WordCount.jar WordCountDriver /input /output