hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuanbo Liu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-11293) FsDatasetImpl throws ReplicaAlreadyExistsException in a wrong situation
Date Thu, 05 Jan 2017 07:23:59 GMT
Yuanbo Liu created HDFS-11293:

             Summary: FsDatasetImpl throws ReplicaAlreadyExistsException in a wrong situation
                 Key: HDFS-11293
                 URL: https://issues.apache.org/jira/browse/HDFS-11293
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Yuanbo Liu
            Assignee: Yuanbo Liu
            Priority: Critical

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 and it's not a correct behavior.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org

View raw message