Redundant field: DatanodeDescriptor.isAlive
-------------------------------------------

                 Key: HADOOP-944
                 URL: https://issues.apache.org/jira/browse/HADOOP-944
             Project: Hadoop
          Issue Type: Improvement
            Reporter: Konstantin Shvachko


The lastUpdate field should be used for determining whether the data-node is 
dead or alive.
The DatanodeDescriptor should have isAlive() method rather than the field.
Synchronizing different fields having the same meaning often leads to mistakes.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to