InternalService.AsyncClient client = clientPool.borrowClient(
cancellation.nodeMonitorAddress);
LOG.debug("Cancelling tasks for request " + cancellation.requestId + " on node " +
cancellation.nodeMonitorAddress);
client.cancelTaskReservations(
new TCancelTaskReservationsRequest(cancellation.requestId),
new CancelTaskReservationsCallback(cancellation.nodeMonitorAddress));
} catch (Exception e) {
LOG.error("Error cancelling request " + cancellation.requestId + " on node " +
cancellation.nodeMonitorAddress+ ": " + e.getMessage());
}