I am currently using hadoop 2.7.2
I was wondering if there is another method from the class Job in org.apache.hadoop.mapreduce.job that can replace the method waitForCompletion(), because in my project, waitForCompletion() calls for another method called getProxy() that should be in the RPC class in the package org.apache.hadoop.ipc in hadoop-common-2.7.2, but it doesn't exist.
However there is a link that proves the existence of the getProxy() method in RPC: https://hadoop.apache.org/docs/r1.0.4/api/org/apache/hadoop/ipc/RPC.html
If you want to have a detailed description of the source problem here is the link:
hadoop mapreduce java program exception: java.lang.NoSuchMethodError
Any help will be appreciated. Thank you