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

Trash never closes FileSystem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.15.0
    • 0.21.0
    • None
    • None
    • Reviewed

    Description

      Trash opens FileSystem using Path.getFileSystem() but never closes it.
      This happens even if Trash is disabled (trash.interval == 0).
      I think trash should not open file system if it is disabled.
      I also think that NameNode should not create a trash Thread when trash is disabled, see NameNode.init().

      Attachments

        1. TrashClose.patch
          3 kB
          Konstantin Shvachko

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: