public void tryKillDAG() throws TezException, IOException {
if(LOG.isDebugEnabled()) {
LOG.debug("TryKill for app: " + appId + " dag:" + dagId);
}
if(createAMProxyIfNeeded()) {
TryKillDAGRequestProto requestProto =
TryKillDAGRequestProto.newBuilder().setDagId(dagId).build();
try {
proxy.tryKillDAG(null, requestProto);
} catch (ServiceException e) {
resetProxy(e);