chukwa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerome Boulon (JIRA)" <j...@apache.org>
Subject [jira] Created: (CHUKWA-57) FileAdaptor is reading inside the start method
Date Fri, 27 Mar 2009 16:20:50 GMT
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