Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 37436DC31 for ; Thu, 27 Dec 2012 16:54:13 +0000 (UTC) Received: (qmail 37614 invoked by uid 500); 27 Dec 2012 16:54:12 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 37577 invoked by uid 500); 27 Dec 2012 16:54:12 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 37567 invoked by uid 99); 27 Dec 2012 16:54:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Dec 2012 16:54:12 +0000 Date: Thu, 27 Dec 2012 16:54:12 +0000 (UTC) From: "Matteo Bertozzi (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-7400) ExportSnapshot mapper closes the FileSystem MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-7400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matteo Bertozzi updated HBASE-7400: ----------------------------------- Attachment: HBASE-7400-v1.patch sorry Ted, I tend to forget to reply, to comments/nits/suggestions that I agree with, and I'm going change the code. Anyway, you're right. The configuration doesn't matter since the user should specify a qualified path hdfs://cluster2 and in case of unqualified path, you've an "unexpected" result in both case. but at least using the getConf() you're sure that you get all your config (HBaseConfig is used) and maybe your fs.default.name is inside one of those. > ExportSnapshot mapper closes the FileSystem > ------------------------------------------- > > Key: HBASE-7400 > URL: https://issues.apache.org/jira/browse/HBASE-7400 > Project: HBase > Issue Type: Sub-task > Components: Client, master, regionserver, snapshots, Zookeeper > Reporter: Matteo Bertozzi > Assignee: Matteo Bertozzi > Priority: Blocker > Fix For: hbase-6055, 0.96.0 > > Attachments: HBASE-7400-v0.patch, HBASE-7400-v1.patch > > > The ExportSnapshotMapper closes the FileSystem on cleanup, > and in case of shared instead, since there's no ref count, the job fails. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira