You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by ChandanS <ge...@gmail.com> on 2020/02/28 14:09:16 UTC

Yarnclient killApplication method throwing java.nio.channels.ClosedByInterruptException

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/

Re: Yarnclient killApplication method throwing java.nio.channels.ClosedByInterruptException

Posted by Ilya Kasnacheev <il...@gmail.com>.
Hello!

I'm afraid you will have to figure this out, we don't see a lot of
real-world YARN expertise around.

Regards,
-- 
Ilya Kasnacheev


пт, 28 февр. 2020 г. в 17:09, ChandanS <ge...@gmail.com>:

> 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/
>