Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-335

improve singleton handling in DataNode

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Incomplete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Steve Loughran
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development