[ 
https://issues.apache.org/jira/browse/APEXCORE-770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vlad Rozov updated APEXCORE-770:
--------------------------------
    Description: 
In my apex-application, I was trying to delete different containers ( except 
the app master ) randomly. 

The application got killed unexpectedly with the following exception -

{noformat}
2017-07-26 11:33:08,477 WARN com.datatorrent.stram.StreamingContainerManager: 
Trying to get unknown container container_e47_1499808956620_0862_01_000001
2017-07-26 11:33:11,881 WARN com.datatorrent.stram.StreamingAppMasterService: 
Failed to stop container container_e47_1499808956620_0862_01_000044
org.apache.hadoop.yarn.exceptions.YarnException: Container 
container_e47_1499808956620_0862_01_000044 is neither started nor scheduled to 
start
at org.apache.hadoop.yarn.ipc.RPCUtil.getRemoteException(RPCUtil.java:45)
at 
org.apache.hadoop.yarn.client.api.async.impl.NMClientAsyncImpl.stopContainerAsync(NMClientAsyncImpl.java:234)
at 
com.datatorrent.stram.StreamingAppMasterService.sendContainerAskToRM(StreamingAppMasterService.java:1175)
at 
com.datatorrent.stram.StreamingAppMasterService.execute(StreamingAppMasterService.java:865)
at 
com.datatorrent.stram.StreamingAppMasterService.run(StreamingAppMasterService.java:671)
at com.datatorrent.stram.StreamingAppMaster.main(StreamingAppMaster.java:106)
{noformat}

  was:
In my apex-application, I was trying to delete different containers ( except 
the app master ) randomly. 

The application got killed unexpectedly with the following exception -

2017-07-26 11:33:08,477 WARN com.datatorrent.stram.StreamingContainerManager: 
Trying to get unknown container container_e47_1499808956620_0862_01_000001
2017-07-26 11:33:11,881 WARN com.datatorrent.stram.StreamingAppMasterService: 
Failed to stop container container_e47_1499808956620_0862_01_000044
org.apache.hadoop.yarn.exceptions.YarnException: Container 
container_e47_1499808956620_0862_01_000044 is neither started nor scheduled to 
start
at org.apache.hadoop.yarn.ipc.RPCUtil.getRemoteException(RPCUtil.java:45)
at 
org.apache.hadoop.yarn.client.api.async.impl.NMClientAsyncImpl.stopContainerAsync(NMClientAsyncImpl.java:234)
at 
com.datatorrent.stram.StreamingAppMasterService.sendContainerAskToRM(StreamingAppMasterService.java:1175)
at 
com.datatorrent.stram.StreamingAppMasterService.execute(StreamingAppMasterService.java:865)
at 
com.datatorrent.stram.StreamingAppMasterService.run(StreamingAppMasterService.java:671)
at com.datatorrent.stram.StreamingAppMaster.main(StreamingAppMaster.java:106)


> Application is killed due to NPE in ApplicationMaster
> -----------------------------------------------------
>
>                 Key: APEXCORE-770
>                 URL: https://issues.apache.org/jira/browse/APEXCORE-770
>             Project: Apache Apex Core
>          Issue Type: Bug
>            Reporter: Vinay Bangalore Srikanth
>            Assignee: Sandesh
>
> In my apex-application, I was trying to delete different containers ( except 
> the app master ) randomly. 
> The application got killed unexpectedly with the following exception -
> {noformat}
> 2017-07-26 11:33:08,477 WARN com.datatorrent.stram.StreamingContainerManager: 
> Trying to get unknown container container_e47_1499808956620_0862_01_000001
> 2017-07-26 11:33:11,881 WARN com.datatorrent.stram.StreamingAppMasterService: 
> Failed to stop container container_e47_1499808956620_0862_01_000044
> org.apache.hadoop.yarn.exceptions.YarnException: Container 
> container_e47_1499808956620_0862_01_000044 is neither started nor scheduled 
> to start
> at org.apache.hadoop.yarn.ipc.RPCUtil.getRemoteException(RPCUtil.java:45)
> at 
> org.apache.hadoop.yarn.client.api.async.impl.NMClientAsyncImpl.stopContainerAsync(NMClientAsyncImpl.java:234)
> at 
> com.datatorrent.stram.StreamingAppMasterService.sendContainerAskToRM(StreamingAppMasterService.java:1175)
> at 
> com.datatorrent.stram.StreamingAppMasterService.execute(StreamingAppMasterService.java:865)
> at 
> com.datatorrent.stram.StreamingAppMasterService.run(StreamingAppMasterService.java:671)
> at com.datatorrent.stram.StreamingAppMaster.main(StreamingAppMaster.java:106)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to