public void setResDir(Path resDir) {
    this.resDir = resDir;
    resFile = null;

    resDirFilesNum = 0;
    resDirPaths = null;
  }
@param resDir
         the resDir to set
ql/src/java/org/apache/hadoop/hive/ql/Context.java