Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-359

Redundant field: DatanodeDescriptor.isAlive

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            shv Konstantin Shvachko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: