[ https://issues.apache.org/jira/browse/APEXCORE-770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16102146#comment-16102146 ]
ASF GitHub Bot commented on APEXCORE-770: ----------------------------------------- sandeshh opened a new pull request #565: APEXCORE-770 Yarn container is returns NodeId using protocal buffer w… URL: https://github.com/apache/apex-core/pull/565 …hich can return null. NodeId can be cached to avoid these issues. @vrozov please review. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Application getting killed with Null Pointer Exception > ------------------------------------------------------ > > 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 - > 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) -- This message was sent by Atlassian JIRA (v6.4.14#64029)