Tommy Young created NIFI-4180:
---------------------------------

             Summary: Site To Site Port Math Seemingly Incorrect
                 Key: NIFI-4180
                 URL: https://issues.apache.org/jira/browse/NIFI-4180
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
    Affects Versions: 1.2.0
         Environment: SLES 11
            Reporter: Tommy Young
            Priority: Minor


It seems as though Nifi is either using something other than flow file count 
when logging the "will receive x% of data" message (in which case it would be 
nice to print the value of what it is using in the logs) OR there is a math 
error, based on the below log messages.

PeerStatus[hostname=node1,port=9090,secure=true,flowFileCount=0] will receive 
0.78125% of data
PeerStatus[hostname=node2,port=9090,secure=true,flowFileCount=2] will receive 
28.125% of data
PeerStatus[hostname=node1,port=9090,secure=true,flowFileCount=5] will receive 
71.09375% of data 

PeerStatus[hostname=node1,port=9090,secure=true,flowFileCount=0] will receive 
0.9615384615384616% of data
PeerStatus[hostname=node3,port=9090,secure=true,flowFileCount=0] will receive 
0.9615384615384616% of data
PeerStatus[hostname=node2,port=9090,secure=true,flowFileCount=1] will receive 
98.07692307692308% of data 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to