dragon created HDFS-10166:
-----------------------------
Summary: CLONE - ErasureCodingWorker#processErasureCodingTasks
should not fail to process remaining tasks due to one invalid ECTask
Key: HDFS-10166
URL: https://issues.apache.org/jira/browse/HDFS-10166
Project: Hadoop HDFS
Issue Type: Sub-task
Components: datanode
Affects Versions: HDFS-7285
Reporter: dragon
Assignee: Uma Maheswara Rao G
Priority: Minor
Fix For: HDFS-7285
Currently processErasureCodingTasks method submits ecTasks to thread pool
service for processing the tasks. While submitting we initialize
ReconstructAndTransferBlock with each ecTask and submit it. There are chances
ReconstructAndTransferBlock initialization can fail due to wrong values as we
had preconditions for parameter validations in Ctor. Anyway, whatever may be
the case, processErasureCodingTasks should not fail and throw exceptions out as
it could prevent processing other tasks in the list.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)