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 BCBC2200B28 for ; Sun, 26 Jun 2016 17:00:46 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BB4BF160A5C; Sun, 26 Jun 2016 15:00:46 +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 0E02D160A38 for ; Sun, 26 Jun 2016 17:00:45 +0200 (CEST) Received: (qmail 40501 invoked by uid 500); 26 Jun 2016 15:00:44 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 40489 invoked by uid 99); 26 Jun 2016 15:00:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Jun 2016 15:00:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id B7A1F1A089A for ; Sun, 26 Jun 2016 15:00:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.28 X-Spam-Level: * X-Spam-Status: No, score=1.28 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] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=spaggiari-org.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id dSAw0YoYJKsR for ; Sun, 26 Jun 2016 15:00:42 +0000 (UTC) Received: from mail-vk0-f50.google.com (mail-vk0-f50.google.com [209.85.213.50]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 7B6615F246 for ; Sun, 26 Jun 2016 15:00:41 +0000 (UTC) Received: by mail-vk0-f50.google.com with SMTP id d185so204507482vkg.0 for ; Sun, 26 Jun 2016 08:00:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spaggiari-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=nzQCQ3aS0L81vkkUqa0KDxDR4WPM5ZWnU4eclASd0k4=; b=wdYuRmAMJ8NSBaFgyLYrQRzKuTqG2gM+aZJVmNZktxHPX6w1+0AWwXiXXVDrfMRC5p lhOzv2JDFiKTEtQPFcH24V6McgDDiy2LBUKxnAsac5pDudg9VrMSwrPZZKmw9GEdPOln Fgwiqha5qdArgVyohozwEfvdp1fuqLkNocViZao+SZvIFZXQS+obB8cjoXBRDIcdXVsB qgb+plReOXEHXATIkQbXH98AATePLdXhUta4DCbc7kvAKh43IszCXZhK4SA71+vaAx7y LPwmZLH4nL/ObGFoAmi/UQyaZANNwR0i1mHq0Yogo8mrUSvmo1hZm9itFx5WvYMabetg 8lrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=nzQCQ3aS0L81vkkUqa0KDxDR4WPM5ZWnU4eclASd0k4=; b=aicgQlATjC7DNSjkKeX/bIrnajE4rczwxZO6+JnrhQfE+GOveGYKXkHNoxj1eT4mE2 4eIZnsFu+olnTwmaJLPYQCJgSIds0hwiQewkVUKpK9R1MR9qim4n4s+mul2joYe0Viw5 ED7l2mzwT/O6cePnWneLB1HRp/s1d8IxY7mOkfeiBE5z15Cu7aPo/Xk3MZJKv3Ez4D06 ZHTQjByCQPS3/NdgKLQnuix2R+aElY24hmHF2dMZf2EdSs+/GPrUeajrudf03e2q4Qgq VVw1KDRI1OEgSPAGksAlUIf0WxtDQ5IaSaT/0qOQcp3qqfHtiUsSOXNP2EWG/Qe7ASSM mUkA== X-Gm-Message-State: ALyK8tKdYxe2A0aSKIZmxFGICRKMJh+aAIhc8HEWJ32LdX2MMNpgno5G3QE5dK8ddvTCkyHjlPSUniGN5/t/kw== MIME-Version: 1.0 X-Received: by 10.176.5.166 with SMTP id e35mr6359315uae.101.1466953238813; Sun, 26 Jun 2016 08:00:38 -0700 (PDT) Received: by 10.31.176.200 with HTTP; Sun, 26 Jun 2016 08:00:38 -0700 (PDT) Received: by 10.31.176.200 with HTTP; Sun, 26 Jun 2016 08:00:38 -0700 (PDT) In-Reply-To: References: <4DC5DDCA-A87C-4A5B-8769-51A482478249@gmail.com> Date: Sun, 26 Jun 2016 11:00:38 -0400 Message-ID: Subject: Re: Delete row that has columns with future timestamp From: Jean-Marc Spaggiari To: user Content-Type: multipart/alternative; boundary=94eb2c123fe0b3b43805362faa4a archived-at: Sun, 26 Jun 2016 15:00:46 -0000 --94eb2c123fe0b3b43805362faa4a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, This is a known issue and I think it is solved is more recent versions. Do you have the option to upgrade? JMS Le 2016-06-26 07:00, "M. BagherEsmaeily" a =C3=A9cri= t : > these problem doesn't solve with major compact!! Assuming the problem is > solved with major compact, in this case, it's still a bug. > > On Sun, Jun 26, 2016 at 3:08 PM, Lise Regnier > wrote: > > > you need to run a major compact after deletion > > lise > > > > > On 26 Jun 2016, at 11:20, M. BagherEsmaeily > > wrote: > > > > > > Hello > > > I use HBase version 0.98.9-hadoop1 with Hadoop version 1.2.1 . when i > > > delete row that has columns with future timestamp, delete not affect > and > > > row still surviving. > > > > > > For example when i put a row with future timestamp: > > > Put p =3D new Put(Bytes.toBytes("key1")); > > > p.add(Bytes.toBytes("C"), Bytes.toBytes("q1"), 2000000000000L, > > > Bytes.toBytes("test-val")); > > > table.put(p); > > > > > > After put, when i scan my table, the result is: > > > ROW COLUMN+CELL > > > key1 column=3DC:q1, timestamp=3D2000000000000, value=3Dtest-val > > > > > > When i delete this row with following code: > > > Delete d =3D new Delete(Bytes.toBytes("key1")); > > > table.delete(d); > > > > > > OR with this code: > > > Delete d =3D new Delete(Bytes.toBytes("key1"), Long.MAX_VALUE); > > > table.delete(d); > > > > > > After each two deletes the result of scan is: > > > ROW COLUMN+CELL > > > key1 column=3DC:q1, timestamp=3D2000000000000, value=3Dtest-val > > > > > > And raw scan result is: > > > ROW COLUMN+CELL > > > key1 column=3DC:, timestamp=3D1466931500501, type=3DDeleteFamily > > > key1 column=3DC:q1, timestamp=3D2000000000000, value=3Dtest-val > > > > > > > > > But when i change the timestamp of delete to Long.MAX_VALUE-1, this > > delete > > > works. Can anyone help me with this? > > > > > --94eb2c123fe0b3b43805362faa4a--