public void failedDiff(int ecode, String fname, String debugHint) {
    String
        message =
        "Client Execution succeeded but contained differences "
            + "(error code = "
            + ecode
            + ") after executing "
            + fname
            + (debugHint != null ? (" " + debugHint) : "");
    LOG.error(message);
    Assert.fail(message);
  }
Given the current configurations (e.g., hadoop version and execution mode), return
the correct file name to compare with the current test run output.

@param outDir   The directory where the reference log files are stored.
@param testName The test file name (terminated by ".out").
@return The file name appended with the configuration values if it exists.
itests/util/src/main/java/org/apache/hadoop/hive/ql/QTestUtil.java