559560561562563564565566567568569
// do checkpoint in SNN again snn.doCheckpoint(); } finally { IOUtils.cleanup(null, dfs); if (snn != null) { snn.shutdown(); } if (cluster != null) { cluster.shutdown(); } }
118119120121122123124125126127128
} catch(IOException e) { if (e instanceof java.net.BindException) return false; throw e; } sn.shutdown(); return true; } /** * Verify name-node port usage.
141142143144145146147148149150151
120121122123124125126127128129130
} finally { if (cluster != null) { cluster.shutdown(); } if (secondary != null) { secondary.shutdown(); } } }
148149150151152153154155156157158
} catch(IOException e) { if (e instanceof java.net.BindException) return false; throw e; } sn.shutdown(); return true; } public void testNameNodePorts() throws Exception { runTestNameNodePorts(false);
555556557558559560561562563564565
554555556557558559560561562563564
142143144145146147148149150151152