Hey,
This error looks like your job History server is not working. To start the JobHistoryserver, use this command:
./mr-jobhistoryswerver-daemon.sh start historyserver
After that, check your JobHistoryServer working or not with the help of command:
jps
Then re-enter your command:
I hope you will get an output like this: