You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Hari Shreedharan (JIRA)" <ji...@apache.org> on 2012/12/04 04:13:58 UTC

[jira] [Created] (FLUME-1767) HDFS sink performance can be improved

Hari Shreedharan created FLUME-1767:
---------------------------------------

             Summary: HDFS sink performance can be improved
                 Key: FLUME-1767
                 URL: https://issues.apache.org/jira/browse/FLUME-1767
             Project: Flume
          Issue Type: Bug
            Reporter: Hari Shreedharan


It looks like the HDFS sink's process method calls the append method, which in turn calls the callWithTimeout method which then waits till the HDFS operation is completed before starting the next one. We could parallelize this to improve performance a lot. 

--
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: http://www.atlassian.com/software/jira

[jira] [Updated] (FLUME-1767) HDFS sink performance should parallelize HDFS operations

Posted by "Hari Shreedharan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FLUME-1767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hari Shreedharan updated FLUME-1767:
------------------------------------

    Description: It looks like the HDFS sink's process method calls the append method, which in turn calls the callWithTimeout method which then waits till the HDFS operation is completed before starting the next one. We could parallelize this to improve performance a lot. Since all the methods in BucketWriter are synchronized only one bucket would still be updated at any point in time, so writing multiple events at the same time would essentially affect only different buckets.  (was: It looks like the HDFS sink's process method calls the append method, which in turn calls the callWithTimeout method which then waits till the HDFS operation is completed before starting the next one. We could parallelize this to improve performance a lot. )
    
> HDFS sink performance should parallelize HDFS operations
> --------------------------------------------------------
>
>                 Key: FLUME-1767
>                 URL: https://issues.apache.org/jira/browse/FLUME-1767
>             Project: Flume
>          Issue Type: Bug
>            Reporter: Hari Shreedharan
>
> It looks like the HDFS sink's process method calls the append method, which in turn calls the callWithTimeout method which then waits till the HDFS operation is completed before starting the next one. We could parallelize this to improve performance a lot. Since all the methods in BucketWriter are synchronized only one bucket would still be updated at any point in time, so writing multiple events at the same time would essentially affect only different buckets.

--
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: http://www.atlassian.com/software/jira

[jira] [Assigned] (FLUME-1767) HDFS sink performance should parallelize HDFS operations

Posted by "Hari Shreedharan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FLUME-1767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hari Shreedharan reassigned FLUME-1767:
---------------------------------------

    Assignee: Hari Shreedharan
    
> HDFS sink performance should parallelize HDFS operations
> --------------------------------------------------------
>
>                 Key: FLUME-1767
>                 URL: https://issues.apache.org/jira/browse/FLUME-1767
>             Project: Flume
>          Issue Type: Bug
>            Reporter: Hari Shreedharan
>            Assignee: Hari Shreedharan
>
> It looks like the HDFS sink's process method calls the append method, which in turn calls the callWithTimeout method which then waits till the HDFS operation is completed before starting the next one. We could parallelize this to improve performance a lot. Since all the methods in BucketWriter are synchronized only one bucket would still be updated at any point in time, so writing multiple events at the same time would essentially affect only different buckets.

--
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: http://www.atlassian.com/software/jira

[jira] [Updated] (FLUME-1767) HDFS sink performance should parallelize HDFS operations

Posted by "Hari Shreedharan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FLUME-1767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hari Shreedharan updated FLUME-1767:
------------------------------------

    Summary: HDFS sink performance should parallelize HDFS operations  (was: HDFS sink performance can be improved)
    
> HDFS sink performance should parallelize HDFS operations
> --------------------------------------------------------
>
>                 Key: FLUME-1767
>                 URL: https://issues.apache.org/jira/browse/FLUME-1767
>             Project: Flume
>          Issue Type: Bug
>            Reporter: Hari Shreedharan
>
> It looks like the HDFS sink's process method calls the append method, which in turn calls the callWithTimeout method which then waits till the HDFS operation is completed before starting the next one. We could parallelize this to improve performance a lot. 

--
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: http://www.atlassian.com/software/jira