Details
-
Sub-task
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
HDFS-10285
-
None
-
Reviewed
Description
In FsDatasetImpl#createTemporary, we use volumeMap to get replica info by block pool id. But in this situation:
datanode A => {DISK, SSD}, datanode B => {DISK, ARCHIVE}. 1. the same block replica exists in A[DISK] and B[DISK]. 2. the block pool id of datanode A and datanode B are the same.
Then we start to change the file's storage policy and move the block replica in the cluster. Very likely we have to move block from B[DISK] to A[SSD], at this time, datanode A throws ReplicaAlreadyExistsException.
Attachments
Attachments
Issue Links
- is related to
-
HDFS-11284 [SPS]: fix issue of moving blocks with satisfier while changing replication factor
- Resolved