chukwa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Yang (JIRA)" <>
Subject [jira] [Commented] (CHUKWA-675) Bad sleeping condition in
Date Mon, 17 Dec 2012 08:06:13 GMT


Eric Yang commented on CHUKWA-675:

If there is data, adaptor should be eager to send data.  If there is no new data, then agent
pause 2 seconds until next check.  I think this is a good change.  We had some busy loop issues
in the past, and it was because there is no pause even after there is no new data to stream.
 I think the new patch is the proper behavior.
> Bad sleeping condition in
> -----------------------------------------
>                 Key: CHUKWA-675
>                 URL:
>             Project: Chukwa
>          Issue Type: Bug
>          Components: Data Collection
>    Affects Versions: 0.6.0
>            Reporter: Sourygna Luangsay
>            Assignee: Sourygna Luangsay
>            Priority: Minor
>             Fix For: 0.6.0
>         Attachments: chukwa-675.patch
> Current "if condition" in the run() method is wrong.
> As a consequence, a big file to tail will take a lot of time.
> See:

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message