accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Turner (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-3905) RowDeletingIterator does not work if columns are specified
Date Fri, 26 Jun 2015 15:58:05 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-3905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14603093#comment-14603093
] 

Keith Turner commented on ACCUMULO-3905:
----------------------------------------

I have a [GH branch][https://github.com/keith-turner/accumulo/tree/ACCUMULO-3905] created
from 1.6 where I have implemented allowing iterators to add column families.   While working
on this change I ran into a case where RowFilterTest was relying on the current screwy behavior.
  It took me a bit to figure out what was going on and to fix it.   Dealing with this had
made me hesitant to change the behavior in 1.6 because users may be relying on the current
screwy behavior.  They may be relying on it w/o realizing it, in that the current behavior
just makes something work as expected for them.  

I'm mulling over not changing the behavior and instead changing the javadoc in 1.6 & 1.7
for fetchColumns to clearly document the screwy behavior w.r.t to iterators.  Also thinking
the behavior should not change in 1.8, but that it should just be deprecated in 1.8 with its
screwy behavior intact.  Could also add documentation to some iterators.



> RowDeletingIterator does not work if columns are specified
> ----------------------------------------------------------
>
>                 Key: ACCUMULO-3905
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3905
>             Project: Accumulo
>          Issue Type: Bug
>          Components: tserver
>    Affects Versions: 1.5.0, 1.6.0
>            Reporter: Eric Newton
>            Assignee: Keith Turner
>             Fix For: 1.8.0
>
>
> (from the mailing list):
> {quote}
> It seem that there might be a bug in RowDeletingIterator:
> after using RowDeletingIterator I get expected results when querying by rowId and CF,
e.g. 
> scan \-b myrowid  \-c field/abc \-t table <---- doesn't return deleted rows as expected
> however if I add column qualified to the query, I see deleted items.
> scan \-b myrowid  \-c field/abc:sample_qualifier \-t table <-- returns deleted rows
> After major compaction the problem goes away. 
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message