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

improve singleton handling in DataNode

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Incomplete
    • None
    • None
    • None
    • None

    Description

      when a DataNode is constructed, it saves its identity to a static field:

      datanodeObject=this;

      1. there's no check on what if this is already set
      2. when the datanode terminates, it may want to set this to null

      Attachments

        Activity

          People

            Unassigned Unassigned
            stevel@apache.org Steve Loughran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: