You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Iván Ezequiel Rodriguez (Jira)" <ji...@apache.org> on 2019/11/07 02:32:00 UTC
[jira] [Created] (NIFI-6853) flowFileEvent combineCounters hashmap
overwritten
Iván Ezequiel Rodriguez created NIFI-6853:
---------------------------------------------
Summary: 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
This error is similar to that of Nifi 6800:
[https://issues.apache.org/jira/browse/NIFI-6800|https://issues.apache.org/jira/browse/NIFI-6800]
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)