Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-1211

Remove deprecated constructor and unused static members in DataNode class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.12.2
    • 0.13.0
    • None
    • None

    Description

      HADOOP-702 deprecated one DataNode constructor, which is only used in MiniDFSCluster. It should be removed.
      Static member
      dataNodeList
      dataNodeThreadList
      seem to be redundant now. Removing them will also require to remove static method
      shutdownAll()
      It is public now, but is also used only by MiniDFSCluster.
      The alternative to static shutdownAll() is to call shutdown() on the DataNode instance.

      Attachments

        1. 1211.patch
          9 kB
          Konstantin Shvachko

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: