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

MRAppMaster doesn't shutdown file systems

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.1, 2.6.0
    • 2.7.0
    • applicationmaster
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment