Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 45868108E5 for ; Tue, 6 Jan 2015 16:44:34 +0000 (UTC) Received: (qmail 84365 invoked by uid 500); 6 Jan 2015 16:44:34 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 84278 invoked by uid 500); 6 Jan 2015 16:44:34 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 84266 invoked by uid 99); 6 Jan 2015 16:44:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jan 2015 16:44:34 +0000 Date: Tue, 6 Jan 2015 16:44:34 +0000 (UTC) From: "Andrew Purtell (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HBASE-4619) TableOutputFormat.close() interferes with HBase clients in same JVM 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-4619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell resolved HBASE-4619. ----------------------------------- Resolution: Not a Problem Thanks for the nudge [~clehene] > TableOutputFormat.close() interferes with HBase clients in same JVM > ------------------------------------------------------------------- > > Key: HBASE-4619 > URL: https://issues.apache.org/jira/browse/HBASE-4619 > Project: HBase > Issue Type: Bug > Reporter: Dave Revell > Labels: close, delete > > This appears in TableOutputFormat.java: > {code} > @Override > public void close(TaskAttemptContext context) > throws IOException { > table.flushCommits(); > // The following call will shutdown all connections to the cluster from > // this JVM. It will close out our zk session otherwise zk wil log > // expired sessions rather than closed ones. If any other HTable instance > // running in this JVM, this next call will cause it damage. Presumption > // is that the above this.table is only instance. > HConnectionManager.deleteAllConnections(true); > } > {code} > It's not a safe assumption that a single TableOutputFormat is the only HBase client in a JVM. -- This message was sent by Atlassian JIRA (v6.3.4#6332)