chukwa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Graham (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CHUKWA-498) Agent logs incorrect number of chunks sent
Date Tue, 20 Jul 2010 23:40:49 GMT

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

Bill Graham updated CHUKWA-498:
-------------------------------

    Attachment: CHUKWA-498.1.patch

Attaching patch. Bug is that {{toSend.clear()}} is called before logging {{toSend.size()}}.

> Agent logs incorrect number of chunks sent
> ------------------------------------------
>
>                 Key: CHUKWA-498
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-498
>             Project: Chukwa
>          Issue Type: Bug
>            Reporter: Bill Graham
>            Assignee: Bill Graham
>            Priority: Minor
>         Attachments: CHUKWA-498.1.patch
>
>
> The agent logs information like this:
> {noformat}
> 2010-07-20 16:31:17,640 INFO HTTP post thread ChukwaHttpSender - collected 70 chunks
for post_92
> 2010-07-20 16:31:17,641 INFO HTTP post thread ChukwaHttpSender - >>>>>>
HTTP post_92 to http://some.collector.com:8787/ length = 20606
> 2010-07-20 16:31:17,653 INFO HTTP post thread ChukwaHttpSender - >>>>>>
HTTP Got success back from http://some.collector.com:8787/chukwa; response length 5250
> 2010-07-20 16:31:17,653 INFO HTTP post thread ChukwaHttpSender - post_92 sent 0 chunks,
got back 70 acks
> {noformat}
> Notice the last line where it says {{sent 0 chunks, got back 70 acks}}. This is a bug.
Instead it should report that it sent 70 chunks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message