410411412413414415416417418419420
System.err.println("FileSystem is " + fs.getUri()); return exitCode; } DistributedFileSystem dfs = (DistributedFileSystem) fs; dfs.refreshNodes(); exitCode = 0; return exitCode; }
458459460461462463464465466467468
*/ public int refreshNodes() throws IOException { int exitCode = -1; DistributedFileSystem dfs = getDFS(); dfs.refreshNodes(); exitCode = 0; return exitCode; }
409410411412413414415416417418419
487488489490491492493494495496497
if (dfs == null) { System.err.println("FileSystem is " + getFS().getUri()); return exitCode; } dfs.refreshNodes(); exitCode = 0; return exitCode; }
688689690691692693694695696697698
proxy.getProxy().refreshNodes(); System.out.println("Refresh nodes successful for " + proxy.getAddress()); } } else { dfs.refreshNodes(); System.out.println("Refresh nodes successful"); } exitCode = 0; return exitCode;
411412413414415416417418419420421
445446447448449450451452453454455
493494495496497498499500501502503
370371372373374375376377378379380
System.err.println("FileSystem is " + fs.getName()); return exitCode; } DistributedFileSystem dfs = (DistributedFileSystem) fs; dfs.refreshNodes(); exitCode = 0; return exitCode; }