Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-6136

MRAppMaster doesn't shutdown file systems

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.1, 2.6.0
    • Fix Version/s: 2.7.0
    • Component/s: applicationmaster
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      When MRAppMaster exit it doesn't call close on its open file systems instances.

      MAPREDUCE-3614 sets conf.setBoolean("fs.automatic.close", false); in MRAppMaster::main and then called FileSystem.closeAll() in MRAppMasterShutdownHook.

      However, MAPREDUCE-4205 removed the call to FileSystem.closeAll() MRAppMasterShutdownHook but left `fs.automatic.close` set to false.

      Removing `conf.setBoolean("fs.automatic.close", false);` worked for me, but it wasn't clear if this had other implications.

        Attachments

        1. MAPRED-6136.patch
          1 kB
          Brahma Reddy Battula

          Activity

            People

            • Assignee:
              brahmareddy Brahma Reddy Battula
              Reporter:
              nwatkins Noah Watkins
            • Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: