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

Method fetchRemoteParamFiles

src/org/apache/pig/Main.java:832–840  ·  view source on GitHub ↗
(List<String> paramFiles, Properties properties)

Source from the content-addressed store, hash-verified

830 }
831
832 private static List<String> fetchRemoteParamFiles(List<String> paramFiles, Properties properties)
833 throws IOException {
834 List<String> paramFiles2 = new ArrayList<String>();
835 for (String param: paramFiles) {
836 FileLocalizer.FetchFileRet localFileRet = FileLocalizer.fetchFile(properties, param);
837 paramFiles2.add(localFileRet.file.getAbsolutePath());
838 }
839 return paramFiles2;
840 }
841 // returns the stream of final pig script to be passed to Grunt
842 private static BufferedReader runParamPreprocessor(PigContext context, BufferedReader origPigScript,
843 String scriptFile, boolean createFile)

Callers 1

runMethod · 0.95

Calls 3

fetchFileMethod · 0.95
getAbsolutePathMethod · 0.80
addMethod · 0.65

Tested by

no test coverage detected