[ https://issues.apache.org/jira/browse/HDFS-14258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16768599#comment-16768599 ]
Íñigo Goiri commented on HDFS-14258: ------------------------------------ OK, let's go with the Math.abs() approach. Any chance we can add coverage to catch "Could not increase concurrent moves thread count"? BTW, shouldn't the message be the opposite? I'd say the way to return false is if we can not decrease the number of concurrent moves; am I missing something? > Introduce Java Concurrent Package To DataXceiverServer Class > ------------------------------------------------------------ > > Key: HDFS-14258 > URL: https://issues.apache.org/jira/browse/HDFS-14258 > Project: Hadoop HDFS > Issue Type: Improvement > Components: datanode > Affects Versions: 3.2.0 > Reporter: BELUGA BEHR > Assignee: BELUGA BEHR > Priority: Minor > Attachments: HDFS-14258.1.patch, HDFS-14258.2.patch, > HDFS-14258.3.patch, HDFS-14258.4.patch, HDFS-14258.5.patch, > HDFS-14258.6.patch, HDFS-14258.7.patch > > > * Use Java concurrent package to replace current facilities in > {{DataXceiverServer}}. > * A little bit of extra clean up -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org