224225226227228229230231232233234
} catch (IOException e) { LOG.error("Got IOException: " +e.getMessage(), e); return 1; } try { adm.shutdown(); } catch (Throwable t) { LOG.error("Failed to stop master", t); return 1; } return 0;
229230231232233234235236237238239