MCPcopy Create free account
hub / github.com/apache/pig / fetchFiles

Method fetchFiles

src/org/apache/pig/impl/io/FileLocalizer.java:766–768  ·  view source on GitHub ↗

Ensures that the passed files pointed to by path are on the local file system, fetching them to the java.io.tmpdir if necessary. If pig.jars.relative.to.dfs is true and dfs is not null, then a relative path is assumed to be relative to the passed dfs active directory. Else they are assumed to be rel

(Properties properties, String filePath)

Source from the content-addressed store, hash-verified

764 * directory.
765 */
766 public static FetchFileRet[] fetchFiles(Properties properties, String filePath) throws IOException {
767 return fetchFilesInternal(properties, filePath, true);
768 }
769
770 /**
771 * Copies the files from remote to local filesystem.

Callers 1

registerJarMethod · 0.95

Calls 1

fetchFilesInternalMethod · 0.95

Tested by

no test coverage detected