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

Mark Payne updated NIFI-6853:
-----------------------------
    Fix Version/s: 1.11.0
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

> flowFileEvent combineCounters hashmap overwritten
> -------------------------------------------------
>
>                 Key: NIFI-6853
>                 URL: https://issues.apache.org/jira/browse/NIFI-6853
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 1.10.0
>            Reporter: Iván Ezequiel Rodriguez
>            Assignee: Iván Ezequiel Rodriguez
>            Priority: Major
>              Labels: core, counters, framework, nifi, overwrite, 
> overwriteExisting
>             Fix For: 1.11.0
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> It is related to the bug I reported a few days ago +*NIFI-6800*+
> This is another problem in the StandardProcessSession.java, promptly in the 
> combination of the counters for the event repository-> flowFileEvent object.
> The putALL method is called and the values ​​are not being mixed when it 
> comes to existing keys
>  As we know hashmap does not allow duplicate keys. So when we merge the maps 
> in this way, for duplicate keys in map1 the value is overwitten by value for 
> same key in map2.
> *_The putAll method cannot be used to combine hashmasp if what is expected is 
> that the keys be summed_*.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to