Andy Isaacson created HDFS-4284:
-----------------------------------
Summary: BlockReaderLocal not notified of failed disks
Key: HDFS-4284
URL: https://issues.apache.org/jira/browse/HDFS-4284
Project: Hadoop HDFS
Issue Type: Bug
Components: hdfs-client
Affects Versions: 2.0.2-alpha, 3.0.0
Reporter: Andy Isaacson
When a DN marks a disk as bad, it stops using replicas on that disk.
However a long-running {{BlockReaderLocal}} instance will continue to access
replicas on the failing disk.
Somehow we should let the in-client BlockReaderLocal know that a disk has been
marked as bad so that it can stop reading from the bad disk.
>From HDFS-4239:
bq. To rephrase that, a long running BlockReaderLocal will ride over local DN
restarts and disk "ejections". We had to drain the RS of all its regions in
order to stop it from using the bad disk.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira