[GitHub] nifi pull request: NIFI-1406 Collecting the number of bytes sent r...

2016-01-20 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/nifi/pull/176


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] nifi pull request: NIFI-1406 Collecting the number of bytes sent r...

2016-01-18 Thread olegz
Github user olegz commented on the pull request:

https://github.com/apache/nifi/pull/176#issuecomment-172556905
  
There is also a compile warning in the catch clause preceding the place 
where you made you changes
```
 } catch (final IOException e) {
flowFile = session.penalize(flowFile);
session.transfer(flowFile, REL_FAILURE);
logger.error("Unable to communicate with 
destination {} to determine whether or not it can accept "
+ "flowfiles/gzip; routing {} to failure 
due to {}", new Object[]{url, flowFile, e});
context.yield();
return;
 }
```
The warning states _*Resource leak: 'throttler' is not closed at this 
location*_. Perhaps while you're at it you can fix that as well.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] nifi pull request: NIFI-1406 Collecting the number of bytes sent r...

2016-01-17 Thread apiri
GitHub user apiri opened a pull request:

https://github.com/apache/nifi/pull/176

NIFI-1406 Collecting the number of bytes sent regardless of send type

Providing counting of all bytes sent to remove bug where PostHTTP would not 
have non-zero rate if not configured to send as a FlowFile.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/apiri/incubator-nifi nifi-1406

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/nifi/pull/176.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #176


commit dc8893e5d20c6a861c1002e53739e30b1e4c2386
Author: Aldrin Piri 
Date:   2016-01-18T03:14:17Z

NIFI-1406 Collecting the number of bytes sent regardless if one or multiple 
FlowFiles are sent.




---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---