Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 97343 invoked from network); 4 Mar 2011 04:56:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Mar 2011 04:56:01 -0000 Received: (qmail 65657 invoked by uid 500); 4 Mar 2011 04:56:00 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 65590 invoked by uid 500); 4 Mar 2011 04:56:00 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 65580 invoked by uid 99); 4 Mar 2011 04:56:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Mar 2011 04:56:00 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Mar 2011 04:55:57 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id EAE8F4FA1B for ; Fri, 4 Mar 2011 04:55:36 +0000 (UTC) Date: Fri, 4 Mar 2011 04:55:36 +0000 (UTC) From: "Tom White (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <1744268521.13013.1299214536958.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Updated: (MAPREDUCE-437) JobTracker must ask for a new FS instance and close it when terminated. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MAPREDUCE-437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tom White updated MAPREDUCE-437: -------------------------------- Status: Open (was: Patch Available) > JobTracker must ask for a new FS instance and close it when terminated. > ----------------------------------------------------------------------- > > Key: MAPREDUCE-437 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-437 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: jobtracker > Affects Versions: 0.21.0, 0.20.1, 0.22.0, 0.23.0 > Reporter: Steve Loughran > Assignee: Steve Loughran > Priority: Minor > Fix For: 0.23.0 > > Attachments: MAPREDUCE-437.patch > > Original Estimate: 1.5h > Time Spent: 2h > Remaining Estimate: 0h > > This is something I've been experimenting with HADOOP-3268; I'm not sure what the right action is here. > -currently, the JobTracker does not close() its filesystem when it is shut down. This will cause it to leak filesystem references if JobTrackers are started and stopped in the same process. > -The TestMRServerPorts test explicitly closes the filesystem > jt.fs.close(); > jt.stopTracker(); > -If you move the close() operation into the stopTracker()/terminate logic, the filesystem gets cleaned up, but > TestRackAwareTaskPlacement and TestMultipleLevelCaching fail with a FilesystemClosed error (stack traces to follow) > Should the JobTracker close its filesystem whenever it is terminated? If so, there are some tests that need to be reworked slightly to not expect the fileystem to be live after the jobtracker is taken down. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira