Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.15.0
    • Fix Version/s: 0.21.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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().

      1. TrashClose.patch
        3 kB
        Konstantin Shvachko

        Issue Links

          Activity

          Konstantin Shvachko created issue -
          Nigel Daley made changes -
          Field Original Value New Value
          Fix Version/s 0.16.0 [ 12312740 ]
          Konstantin Shvachko made changes -
          Attachment TrashClose.patch [ 12397588 ]
          Konstantin Shvachko made changes -
          Link This issue blocks HADOOP-4539 [ HADOOP-4539 ]
          Konstantin Shvachko made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Assignee Konstantin Shvachko [ shv ]
          Fix Version/s 0.21.0 [ 12313563 ]
          Chris Douglas made changes -
          Hadoop Flags [Reviewed]
          Konstantin Shvachko made changes -
          Comment [ +1 ]
          Konstantin Shvachko made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Owen O'Malley made changes -
          Component/s dfs [ 12310710 ]
          Tom White made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Konstantin Shvachko
              Reporter:
              Konstantin Shvachko
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development