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-57) FileAdaptor is reading inside the start method
Date Fri, 27 Mar 2009 16:36:52 GMT

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

Eric Yang commented on CHUKWA-57:
---------------------------------

Nice to have, but optional.  We are adding the socket timeout, hence, the add command would
only block for 60 seconds for the worst case.  

> FileAdaptor is reading inside the start method
> ----------------------------------------------
>
>                 Key: CHUKWA-57
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-57
>             Project: Hadoop Chukwa
>          Issue Type: Bug
>            Reporter: Jerome Boulon
>            Priority: Critical
>
> The FileAdaptor is doing the reading part directly inside the start method and by doing
that it makes the start operation synchronous with the ADD command.
> This will block the remote application.
> The start method should use a queue to add the file to be processed then a background
thread should do the parsing.
> The background thread should be reuse since Thread creation is expensive.

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