From issues-return-30257-archive-asf-public=cust-asf.ponee.io@carbondata.apache.org Mon Jan 8 09:23:01 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id BCB70180607 for ; Mon, 8 Jan 2018 09:23:01 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id ACCCB160C2C; Mon, 8 Jan 2018 08:23:01 +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 E80AF160C1E for ; Mon, 8 Jan 2018 09:23:00 +0100 (CET) Received: (qmail 40973 invoked by uid 500); 8 Jan 2018 08:23:00 -0000 Mailing-List: contact issues-help@carbondata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@carbondata.apache.org Delivered-To: mailing list issues@carbondata.apache.org Received: (qmail 40964 invoked by uid 99); 8 Jan 2018 08:23:00 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jan 2018 08:23:00 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 1029BDFB0D; Mon, 8 Jan 2018 08:23:00 +0000 (UTC) From: QiangCai To: issues@carbondata.apache.org Reply-To: issues@carbondata.apache.org References: In-Reply-To: Subject: [GitHub] carbondata pull request #1773: [CARBONDATA-1999] Block drop table and delete... Content-Type: text/plain Message-Id: <20180108082300.1029BDFB0D@git1-us-west.apache.org> Date: Mon, 8 Jan 2018 08:23:00 +0000 (UTC) Github user QiangCai commented on a diff in the pull request: https://github.com/apache/carbondata/pull/1773#discussion_r160089558 --- Diff: core/src/main/java/org/apache/carbondata/core/statusmanager/SegmentStatusManager.java --- @@ -543,6 +548,11 @@ public static void writeLoadDetailsIntoFile(String dataLoadLocation, + "as the segment has been compacted."); continue; } + if (SegmentStatus.STREAMING == loadMetadata.getSegmentStatus()) { + LOG.info("Ignoring the segment : " + loadMetadata.getLoadName() + + "as the segment is streaming in progress."); + continue; + } if (SegmentStatus.MARKED_FOR_DELETE != loadMetadata.getSegmentStatus() && --- End diff -- fixed ---