/** * Submit an entire directory * @param srcDir src path in filesystem * @param destRelativeDir relative path under destination local dir * @throws IOException IO problems */ public void submitDirectory(Path srcDir, String destRelativeDir) throws IOException { //add the configuration resources Map<String, LocalResource> confResources; confResources = coreFileSystem.submitDirectory( srcDir, destRelativeDir); addLocalResources(confResources); }
/** * Submit an entire directory * @param srcDir src path in filesystem * @param destRelativeDir relative path under destination local dir * @throws IOException IO problems */ public void submitDirectory(Path srcDir, String destRelativeDir) throws IOException { //add the configuration resources Map<String, LocalResource> confResources; confResources = coreFileSystem.submitDirectory( srcDir, destRelativeDir); addLocalResources(confResources); }