Kihwal Lee created HDFS-4890:
--------------------------------
Summary: Stop generating/sending datanode work in standby mode
Key: HDFS-4890
URL: https://issues.apache.org/jira/browse/HDFS-4890
Project: Hadoop HDFS
Issue Type: Bug
Components: ha, namenode
Affects Versions: 2.1.0-beta
Reporter: Kihwal Lee
If NN comes up in standby and stays that way, repl queues are empty so no work
is generated even though ReplicationMonitor is running. But if an ANN
transitions to standby, more work can be generated and sent. Also any remaining
work will be sent to datanodes.
Current code drains existing work and stops generating new work in safe mode.
HDFS-4832 will make it immediately stop in safe mode. Same can be done for
standby.
This change was also suggested in HDFS-3744.
--
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