Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-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 3010B108F2 for ; Sat, 31 Aug 2013 03:05:00 +0000 (UTC) Received: (qmail 26627 invoked by uid 500); 31 Aug 2013 03:04:57 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 26567 invoked by uid 500); 31 Aug 2013 03:04:56 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 26541 invoked by uid 500); 31 Aug 2013 03:04:55 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 26524 invoked by uid 99); 31 Aug 2013 03:04:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 Aug 2013 03:04:52 +0000 Date: Sat, 31 Aug 2013 03:04:52 +0000 (UTC) From: "Eugene Koifman (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-4773) Templeton intermittently fail to commit output to file system 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/HIVE-4773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13755385#comment-13755385 ] Eugene Koifman commented on HIVE-4773: -------------------------------------- It's not clear why this solves the described problem. The code already called writer.flush() which is now also followed by writer.close(). Why would flush() not be sufficient? Also, 'writer' is connected to System.err (or System.out). Is it really safe/OK to close this stream? What about when this runs on Yarn which I believe does some container reuse? > Templeton intermittently fail to commit output to file system > ------------------------------------------------------------- > > Key: HIVE-4773 > URL: https://issues.apache.org/jira/browse/HIVE-4773 > Project: Hive > Issue Type: Bug > Reporter: Shuaishuai Nie > Assignee: Shuaishuai Nie > Attachments: HIVE-4773.1.patch > > > With ASV as a default FS, we saw instances where output is not fully flushed to storage before the Templeton controller process exits. This results in stdout and stderr being empty even though the job completed successfully. -- 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