public Path getPathWithSchemeAndAuthority(Path targetFilePath, Path currentFilePath) {
    if (targetFilePath.toUri().getScheme() == null) {
      URI currentURI = currentFilePath.toUri();
      targetFilePath = new Path(currentURI.getScheme(), currentURI.getAuthority(), targetFilePath.toUri().getPath());
    }
    return targetFilePath;
  }
This writes the actual data in the exportRootDataDir from the source.
ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/io/FileOperations.java