Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 665D0103F1 for ; Tue, 22 Oct 2013 14:21:49 +0000 (UTC) Received: (qmail 65473 invoked by uid 500); 22 Oct 2013 14:21:44 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 65445 invoked by uid 500); 22 Oct 2013 14:21:43 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 65422 invoked by uid 99); 22 Oct 2013 14:21:43 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Oct 2013 14:21:43 +0000 Date: Tue, 22 Oct 2013 14:21:43 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-1800) delete mutations not working through the Proxy 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/ACCUMULO-1800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13801846#comment-13801846 ] ASF subversion and git services commented on ACCUMULO-1800: ----------------------------------------------------------- Commit ffd16c7adbfd99f7acbba08ad9934acd5c80a7df in branch refs/heads/1.4.5-SNAPSHOT from [~ecn] [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=ffd16c7 ] ACCUMULO-1800 fix deletes, added test > delete mutations not working through the Proxy > ---------------------------------------------- > > Key: ACCUMULO-1800 > URL: https://issues.apache.org/jira/browse/ACCUMULO-1800 > Project: Accumulo > Issue Type: Bug > Components: proxy > Affects Versions: 1.4.4, 1.5.0 > Reporter: Eric Newton > Assignee: Eric Newton > Priority: Critical > Fix For: 1.4.5, 1.5.1 > > > Aru Sahni writes: > {quote} > I'm new to Accumulo and am still trying to wrap my head around its ways. To further that challenge, I'm using Pyaccumulo, which doesn't present much in terms of available reference material. > Right now I'm trying to understand how Accumulo manages record (key-value pair) deletions. > conn = Accumulo(host, port, user, password) > table = 'test_table' > conn.create_table(table) > writer = conn.create_batch_writer(table) > mut = Mutation('mut_01') > mut.put(cf='item', cq='name', value='car') > writer.add_mutation(mut) > writer.close() > conn.close() > Will generate a record (found via a shell scan): > mut_01 item:name [] car > However the subsequent mutation... > writer = conn.create_batch_writer(table) > mut = Mutation('mut_01') > mut.put(cf='item', cq='name', is_delete=True) > writer.add_mutation(mut) > writer.close() > Results in: > mut_01 item:name [] > How should one expect the deleted row to be represented? That record sticks around even after I force a compaction of the table. I was expecting it to not show up in any iterators, or at least provide an easy way to see if the cell has been deleted. > {quote} > [~ecn] has confirmed the problem. -- This message was sent by Atlassian JIRA (v6.1#6144)