[ https://issues.apache.org/jira/browse/HDFS-10909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Manoj Govindassamy updated HDFS-10909: -------------------------------------- Attachment: HDFS-10909.01.patch Attached patch to remove the code duplication. Made the ThreadPoolExecutor creation as a generic util which the EC readers are using now. [~jojochuang], can you please take a look ? > De-duplicate code in ErasureCodingWorker#initializeStripedReadThreadPool and > DFSClient#initThreadsNumForStripedReads > -------------------------------------------------------------------------------------------------------------------- > > Key: HDFS-10909 > URL: https://issues.apache.org/jira/browse/HDFS-10909 > Project: Hadoop HDFS > Issue Type: Improvement > Affects Versions: 3.0.0-alpha2 > Reporter: Wei-Chiu Chuang > Assignee: Manoj Govindassamy > Priority: Minor > Attachments: HDFS-10909.01.patch > > > The two methods are mostly the same. Maybe it make sense to deduplicate the > code. A good place to place the code is DFSUtilClient -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org