While I am trying to kill my ignite yarn application, killApplication method
is throwing the below exception and I am not able to kill my yarn job from
the application.

java.io.IOException: Failed on local exception:
java.nio.channels.ClosedByInterruptException; Host Details : local host is:
"xxxxxxx.intqa.bigdata.int.thomsonreuters.com/xx.1xx.xx8.2xx"; destination
host is: "xxxxxx.int.westgroup.com":8032; 

Code snippet:
try {
          logInfo(s">>> Killing existing ignite yarn job with APP ID:
${applicationID.toString()}")
          val yarnClient = getYarnClient(conf)
          if (yarnClient != null) {
            yarnClient.killApplication(applicationID)
          } 
} catch {
      case exp: Exception => {
        logError(s">>> Failed to stop ignite yarn APP: \n$exp")
      }
}


Below is part of my application log:

20/02/28 05:05:00 INFO api.StartStandalone: >>> Killing existing ignite yarn
job with APP ID: 1564355610025_539606
20/02/28 05:05:00 ERROR api.StartStandalone: >>> Failed to stop ignite yarn
APP: 
java.io.IOException: Failed on local exception:
java.nio.channels.ClosedByInterruptException; Host Details : local host is:
"xxxxxx.intqa.bigdata.int.thomsonreuters.com/xx.1xx.xx8.2xx"; destination
host is: "cxxxxx.int.westgroup.com":8032; 


Need help on how to resolve this issue?


Thanks,
Chandan






--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to