Return-Path: X-Original-To: apmail-kudu-user-archive@minotaur.apache.org Delivered-To: apmail-kudu-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ED35119AE7 for ; Thu, 21 Apr 2016 08:02:32 +0000 (UTC) Received: (qmail 66103 invoked by uid 500); 21 Apr 2016 08:02:32 -0000 Delivered-To: apmail-kudu-user-archive@kudu.apache.org Received: (qmail 66065 invoked by uid 500); 21 Apr 2016 08:02:32 -0000 Mailing-List: contact user-help@kudu.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@kudu.incubator.apache.org Delivered-To: mailing list user@kudu.incubator.apache.org Received: (qmail 66057 invoked by uid 99); 21 Apr 2016 08:02:32 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Apr 2016 08:02:32 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 571FEC2B4C for ; Thu, 21 Apr 2016 08:02:32 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.279 X-Spam-Level: * X-Spam-Status: No, score=1.279 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=cloudera-com.20150623.gappssmtp.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id HU3ky3Ni7vA7 for ; Thu, 21 Apr 2016 08:02:28 +0000 (UTC) Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 696615FBA3 for ; Thu, 21 Apr 2016 08:02:27 +0000 (UTC) Received: by mail-pa0-f49.google.com with SMTP id er2so26698284pad.3 for ; Thu, 21 Apr 2016 01:02:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudera-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:message-id:in-reply-to:references:subject:mime-version; bh=yz9EEFcUzEnbhs8fCiSxBB6mdakEfIetCGEujV8b8o4=; b=c7eTRLDOAihaTAfx5rEHtkSyeCn3H0xLsuh/z9LoLH+C1T8WypL4tDic3MF+/XTCbh kaWSY5jVF+orqiKs2TUq66bVbTRRZ/KQJ5U1lza58arZjv82guq8l0FsQMPOSfnh8feF q04YaBudmd/qN65CC1tkENEJOHDM5n4wfMOvzKS3JbXgyZ+VDg1MROf3NukUKnnAEFt+ BEQYCN5LTdz1YGgcPCjTumKzQHKWIrkhrvAfIMFE8c3DC2ydjLplwLXQ6qJi9wVx5LZW 0Tox9/uf3I+83iEzIfl1kacdDbgrbRzO6yNOrR/yz20Q2lRkJ+uBiidhu1ptY9OlLLOW Gd6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:message-id:in-reply-to:references :subject:mime-version; bh=yz9EEFcUzEnbhs8fCiSxBB6mdakEfIetCGEujV8b8o4=; b=MVBwHuUUTLZGIlDRRTlp8+Ye7oRDanpElL1uqtk2KQ/LKeLlPIOFT8HHtVkjWuWKpr z04xJRDZ/T/Dy4hVEIUfE1Qp6u7KpaTF/vTKWFgVkodsyA0iSoDqp3eGTwETVq1rAtE8 nh795C9vyesFC/lbLZV7/6kIDb7iAdXJIpNwWBPO/TQzzfN4tPyXqrSuN2lKD4KYK8Sp PTHNnnTc3NwLUyU+xyakDcQzdQui7BfWBGGxmfeVut0NwZBVZReahYGFMoin7unXW83A EVfcXTK9F3T/yNS1m4GB9DnVYXADdAP46vp+34YJyjyTjxC1Z4O28NrkPNvgwjLA3waj ibGA== X-Gm-Message-State: AOPr4FXwFlZ9yT8VwmH34lVlRtnHubUt+aPrJFwRoOYb3/0OojeY8pG8yeGd4hRk9520VrAo X-Received: by 10.66.221.167 with SMTP id qf7mr18624641pac.94.1461225745709; Thu, 21 Apr 2016 01:02:25 -0700 (PDT) Received: from mac (c-67-174-196-91.hsd1.ca.comcast.net. [67.174.196.91]) by smtp.gmail.com with ESMTPSA id h85sm2617336pfj.52.2016.04.21.01.02.24 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 21 Apr 2016 01:02:24 -0700 (PDT) Date: Thu, 21 Apr 2016 01:02:23 -0700 From: Casey Ching To: user@kudu.incubator.apache.org, Mike Percy Message-ID: In-Reply-To: References: Subject: Re: How to truncate a kudu table? X-Mailer: Airmail (351) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="5718890f_201fcde6_1d5" --5718890f_201fcde6_1d5 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thanks Mike. Darren, if this happens again it would be great if you could send the err= or message. It might give a better sense of what to do. On April 21, 2016 at 12:56:23 AM, Mike Percy (mpercy=40apache.org) wrote:= =46iled a JIRA to track the Impala metadata inconsistency issue =40=C2=A0= https://issues.cloudera.org/browse/IMPALA-3387 On Thu, Apr 21, 2016 at 12:23 AM, Todd Lipcon wrote= : Hi Darren, Unfortunately kudu does not currently support any truncate operation. You= 'll have to delete and recreate the table. Todd On Apr 21, 2016 12:22 AM, =22Darren Hoo=22 wrote= : As=C2=A0IMPALA-2999 is still open, so truncate from impala is not possibl= e now. Can I truncate a kudu table using kudu side tools=3F kudu-admin only has=C2= =A0delete=5Ftable operation btw,=C2=A0delete=5Ftable=C2=A0is very useful, once when I drop a big kudu= table from impala-shell and=C2=A0 it fails, the metadata between impala and kudu is out of sync, neither ca= n I drop nor create the same table. and kudu-admin saves me=21 --5718890f_201fcde6_1d5 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline