Return-Path: X-Original-To: apmail-hadoop-common-dev-archive@www.apache.org Delivered-To: apmail-hadoop-common-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 E3433108B5 for ; Tue, 25 Feb 2014 05:37:37 +0000 (UTC) Received: (qmail 8606 invoked by uid 500); 25 Feb 2014 05:37:33 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 7508 invoked by uid 500); 25 Feb 2014 05:37:23 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 7474 invoked by uid 99); 25 Feb 2014 05:37:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Feb 2014 05:37:20 +0000 Date: Tue, 25 Feb 2014 05:37:19 +0000 (UTC) From: "Ted Yu (JIRA)" To: common-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HADOOP-10364) JsonGenerator in Configuration#dumpConfiguration() is not closed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Ted Yu created HADOOP-10364: ------------------------------- Summary: JsonGenerator in Configuration#dumpConfiguration() is not closed Key: HADOOP-10364 URL: https://issues.apache.org/jira/browse/HADOOP-10364 Project: Hadoop Common Issue Type: Bug Reporter: Ted Yu {code} JsonGenerator dumpGenerator = dumpFactory.createJsonGenerator(out); {code} dumpGenerator is not closed in Configuration#dumpConfiguration() Looking at the source code of org.codehaus.jackson.impl.WriterBasedGenerator#close(), there is more than flushing the buffer. -- This message was sent by Atlassian JIRA (v6.1.5#6160)