chukwa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Yang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CHUKWA-447) Load increased by 50% when using ExecAdaptor instead of org.apache.hadoop.chukwa.inputtools.plugin.metrics.Exec+FileTailingAdaptor
Date Sun, 17 Oct 2010 18:39:22 GMT

    [ https://issues.apache.org/jira/browse/CHUKWA-447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921881#action_12921881
] 

Eric Yang commented on CHUKWA-447:
----------------------------------

The expected period parameter is in seconds, but the code is running as:

{noformat}
timer.schedule(execTimer, 0L, period);
{noformat}

Hence, it's running 1000 times more frequent than expected.

> Load increased by 50% when using ExecAdaptor instead of org.apache.hadoop.chukwa.inputtools.plugin.metrics.Exec+FileTailingAdaptor
> ----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CHUKWA-447
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-447
>             Project: Chukwa
>          Issue Type: Improvement
>          Components: input tools
>    Affects Versions: 0.3.0, 0.4.0
>         Environment: Redhat EL 5.1, Java 6
>            Reporter: Eric Yang
>         Attachments: Picture 4.png
>
>
> While I am coming up a fix for CHUKWA-446, I notice the load average increased by ExecAdaptor.
 There is probably something that could be improved to reduce the cost of ExecAdaptor.

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