You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by mcgilman <gi...@git.apache.org> on 2017/07/17 15:39:20 UTC

[GitHub] nifi pull request #1872: NIFI-106: Expose processors' counters in Stats Hist...

Github user mcgilman commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/1872#discussion_r127742238
  
    --- Diff: nifi-api/src/main/java/org/apache/nifi/controller/status/ProcessorStatus.java ---
    @@ -234,6 +245,7 @@ public ProcessorStatus clone() {
             clonedObj.flowFilesRemoved = flowFilesRemoved;
             clonedObj.runStatus = runStatus;
             clonedObj.type = type;
    +        clonedObj.counters = new HashMap<>(counters);
    --- End diff --
    
    May need to protect against NPE when `counters` is null.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---