Details
Description
In HMasterCommandLine#stopMaster(), admin is not closed.
HMasterCommandLine.java
try (Connection connection = ConnectionFactory.createConnection(conf)) { try (Admin admin = connection.getAdmin()) { connection.getAdmin().shutdown(); } catch (Throwable t) { LOG.error("Failed to stop master", t); return 1; } }