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

Vlad Rozov updated APEXCORE-362:
--------------------------------
    Description: 
There is a possible race condition while end window statistics is calculated by 
application master. While putIfAbsent() and get() are atomic and thread-safe by 
itself, there is a possibility of thread switch in between, so that entry 
inserted by putIfAbasent will be removed and get may return null.
 

  was:There is a possible race condition while end window statistics is 
calculated by application master. While putIfAbsent() and get() are atomic and 
thread safe by itself, there is a possibility of thread switch in between, so 
that entry inserted by putIfAbasent will be removed and get may return null. 


> NPE in StreamingContainerManager
> --------------------------------
>
>                 Key: APEXCORE-362
>                 URL: https://issues.apache.org/jira/browse/APEXCORE-362
>             Project: Apache Apex Core
>          Issue Type: Bug
>    Affects Versions: 3.2.0, 3.3.0, 3.2.1, 3.4.0, 3.3.1
>            Reporter: Vlad Rozov
>            Assignee: Vlad Rozov
>
> There is a possible race condition while end window statistics is calculated 
> by application master. While putIfAbsent() and get() are atomic and 
> thread-safe by itself, there is a possibility of thread switch in between, so 
> that entry inserted by putIfAbasent will be removed and get may return null.
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to