hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Demoor (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-11684) Use thread pool that blocks clients
Date Fri, 06 Mar 2015 16:18:39 GMT
Thomas Demoor created HADOOP-11684:

             Summary: Use thread pool that blocks clients
                 Key: HADOOP-11684
                 URL: https://issues.apache.org/jira/browse/HADOOP-11684
             Project: Hadoop Common
          Issue Type: Sub-task
            Reporter: Thomas Demoor
            Assignee: Thomas Demoor

Currently, if fs.s3a.max.total.tasks are queued and another (part)upload wants to start, a
RejectedExecutionException is thrown. 

We should use a threadpool that blocks clients, nicely throtthling them, rather than throwing
an exception. F.i. something similar to https://github.com/apache/incubator-s4/blob/master/subprojects/s4-comm/src/main/java/org/apache/s4/comm/staging/BlockingThreadPoolExecutorService.java

This message was sent by Atlassian JIRA

View raw message