You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chukwa.apache.org by "Bill Graham (JIRA)" <ji...@apache.org> on 2010/07/21 01:37:50 UTC

[jira] Created: (CHUKWA-498) Agent logs incorrect number of chunks sent

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


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.


[jira] Updated: (CHUKWA-498) Agent logs incorrect number of chunks sent

Posted by "Bill Graham (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Updated: (CHUKWA-498) Agent logs incorrect number of chunks sent

Posted by "Ari Rabkin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CHUKWA-498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ari Rabkin updated CHUKWA-498:
------------------------------

        Status: Resolved  (was: Patch Available)
    Resolution: Fixed

Shows how carefully the rest of us read logs. I just committed this. Thanks, Bill!

> 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.


[jira] Updated: (CHUKWA-498) Agent logs incorrect number of chunks sent

Posted by "Bill Graham (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CHUKWA-498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Status: Patch Available  (was: Open)

> 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.