Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2B856200B68 for ; Fri, 19 Aug 2016 18:11:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2A02F160ABD; Fri, 19 Aug 2016 16:11:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 980AC160A79 for ; Fri, 19 Aug 2016 18:11:21 +0200 (CEST) Received: (qmail 73825 invoked by uid 500); 19 Aug 2016 16:11:20 -0000 Mailing-List: contact issues-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 issues@hive.apache.org Received: (qmail 73808 invoked by uid 99); 19 Aug 2016 16:11:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Aug 2016 16:11:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 961E42C014D for ; Fri, 19 Aug 2016 16:11:20 +0000 (UTC) Date: Fri, 19 Aug 2016 16:11:20 +0000 (UTC) From: "Wei Zheng (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-13403) Make Streaming API not create empty buckets (at least as an option) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 19 Aug 2016 16:11:22 -0000 [ https://issues.apache.org/jira/browse/HIVE-13403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei Zheng updated HIVE-13403: ----------------------------- Status: Patch Available (was: Open) > Make Streaming API not create empty buckets (at least as an option) > ------------------------------------------------------------------- > > Key: HIVE-13403 > URL: https://issues.apache.org/jira/browse/HIVE-13403 > Project: Hive > Issue Type: Bug > Components: HCatalog, Transactions > Affects Versions: 1.3.0 > Reporter: Eugene Koifman > Assignee: Wei Zheng > Priority: Critical > Attachments: HIVE-13403.1.patch, HIVE-13403.2.patch, HIVE-13403.3.patch, HIVE-13403.4.patch > > > as of HIVE-11983, when a TransactionBatch is opened in StreamingAPI, a full compliment of bucket files (AbstractRecordWriter.createRecordUpdaters()) is created on disk even though some may end up receiving no data. > It would be better to create them on demand and not clog the FS. > Tez can handle missing (empty) buckets and on MR bucket join algorithms will check if all buckets are there and bail out if not. -- This message was sent by Atlassian JIRA (v6.3.4#6332)