public static void compareResults(Result res1, Result res2) throws Exception {
    compareResults(res1, res2, true);
  }
Does a deep comparison of two Results, down to the byte arrays.
@param res1 first result to compare
@param res2 second result to compare
@throws Exception Every difference is throwing an exception
hbase-client/src/main/java/org/apache/hadoop/hbase/client/Result.java