@Override public ShutdownDatanodeResponseProto shutdownDatanode( RpcController unused, ShutdownDatanodeRequestProto request) throws ServiceException { try { impl.shutdownDatanode(request.getForUpgrade()); } catch (IOException e) { throw new ServiceException(e); } return SHUTDOWN_DATANODE_RESP; }