[ https://issues.apache.org/jira/browse/HDFS-14350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17169107#comment-17169107 ]
Hadoop QA commented on HDFS-14350: ---------------------------------- | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 0s{color} | {color:blue} Docker mode activated. {color} | | {color:red}-1{color} | {color:red} patch {color} | {color:red} 0m 5s{color} | {color:red} https://github.com/apache/hadoop/pull/582 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help. {color} | \\ \\ || Subsystem || Report/Notes || | GITHUB PR | https://github.com/apache/hadoop/pull/582 | | JIRA Issue | HDFS-14350 | | Console output | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-582/3/console | | versions | git=2.17.1 | | Powered by | Apache Yetus 0.12.0 https://yetus.apache.org | This message was automatically generated. > dfs.datanode.ec.reconstruction.threads not take effect > ------------------------------------------------------ > > Key: HDFS-14350 > URL: https://issues.apache.org/jira/browse/HDFS-14350 > Project: Hadoop HDFS > Issue Type: Bug > Components: datanode, ec > Affects Versions: 3.2.0 > Reporter: hunshenshi > Assignee: hunshenshi > Priority: Major > Fix For: 3.2.0 > > > In ErasureCodingWorker, stripedReconstructionPool is create by > {code:java} > initializeStripedBlkReconstructionThreadPool(conf.getInt( > DFSConfigKeys.DFS_DN_EC_RECONSTRUCTION_THREADS_KEY, > DFSConfigKeys.DFS_DN_EC_RECONSTRUCTION_THREADS_DEFAULT)); > private void initializeStripedBlkReconstructionThreadPool(int numThreads) { > LOG.debug("Using striped block reconstruction; pool threads={}", > numThreads); > stripedReconstructionPool = DFSUtilClient.getThreadPoolExecutor(2, > numThreads, 60, new LinkedBlockingQueue<>(), > "StripedBlockReconstruction-", false); > stripedReconstructionPool.allowCoreThreadTimeOut(true); > }{code} > so stripedReconstructionPool is a ThreadPoolExecutor, and the queue is a > LinkedBlockingQueue, then the active thread is awalys 2, the > dfs.datanode.ec.reconstruction.threads not take effect. > -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org