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

Jerome Boulon commented on CHUKWA-57:
-------------------------------------

BTW, if the queue is full this will block on the queue itself.


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

Reply via email to