Kai Zheng created HDFS-9642:
-------------------------------
Summary: Create reader threads pool on demand according to erasure
coding policy
Key: HDFS-9642
URL: https://issues.apache.org/jira/browse/HDFS-9642
Project: Hadoop HDFS
Issue Type: Improvement
Reporter: Kai Zheng
Assignee: Kai Zheng
While investigating some issue it was noticed in {{DFSClient}},
{{STRIPED_READ_THREAD_POOL}} will be always created during initialization and
by default regardless the used erasure coding policy it uses the value *18*.
This suggests:
* Create the thread pool on demand only in striping case.
* When create the pool, use a good value respecting the used erasure coding
policy.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)