protected static byte[] getRow(Result sourceResult, Result replicatedResult) {
    if (sourceResult != null) {
      return sourceResult.getRow();
    } else if (replicatedResult != null) {
      return replicatedResult.getRow();
    }
    throw new RuntimeException("Both sourceResult and replicatedResult are null!");
  }
Sets up the actual job.
@param conf The current configuration.
@param args The command line parameters.
@return The newly created job.
@throws java.io.IOException When setting up the job fails.
hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/replication/VerifyReplication.java