Path partitionDataExportDir(String partitionName) throws SemanticException {
      return exportDir(new Path(dataExportRootDir(), partitionName));
    }
this class is responsible for giving various paths to be used during export along with root export
directory creation.
ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/TableExport.java