You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@accumulo.apache.org by "Jason Trost (Created) (JIRA)" <ji...@apache.org> on 2011/11/23 19:21:39 UTC

[jira] [Created] (ACCUMULO-178) Off-by-one error in FamilyIntersectingIterator

Off-by-one error in FamilyIntersectingIterator
----------------------------------------------

                 Key: ACCUMULO-178
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-178
             Project: Accumulo
          Issue Type: Bug
          Components: tserver
    Affects Versions: 1.3.5, 1.4.0, 1.5.0, 1.3.6
            Reporter: Jason Trost
            Assignee: Keith Turner
            Priority: Trivial
             Fix For: 1.5.0


In the buildDocKey() function within the FamilyIntersectingIterator there is a bug that shortens the docID by 1.  This causes the wrong doc's data to be returned in the results of a query using this Iterator.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (ACCUMULO-178) Off-by-one error in FamilyIntersectingIterator

Posted by "Jason Trost (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Trost updated ACCUMULO-178:
---------------------------------

    Attachment: family-iterator.patch

see attached patch.
                
> Off-by-one error in FamilyIntersectingIterator
> ----------------------------------------------
>
>                 Key: ACCUMULO-178
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-178
>             Project: Accumulo
>          Issue Type: Bug
>          Components: tserver
>    Affects Versions: 1.3.5, 1.4.0, 1.5.0, 1.3.6
>            Reporter: Jason Trost
>            Assignee: Keith Turner
>            Priority: Trivial
>              Labels: patch
>             Fix For: 1.5.0
>
>         Attachments: family-iterator.patch
>
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> In the buildDocKey() function within the FamilyIntersectingIterator there is a bug that shortens the docID by 1.  This causes the wrong doc's data to be returned in the results of a query using this Iterator.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (ACCUMULO-178) Off-by-one error in FamilyIntersectingIterator

Posted by "Billie Rinaldi (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Billie Rinaldi reassigned ACCUMULO-178:
---------------------------------------

    Assignee: Jason Trost  (was: Keith Turner)
    
> Off-by-one error in FamilyIntersectingIterator
> ----------------------------------------------
>
>                 Key: ACCUMULO-178
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-178
>             Project: Accumulo
>          Issue Type: Bug
>          Components: tserver
>    Affects Versions: 1.3.5, 1.4.0, 1.5.0, 1.3.6
>            Reporter: Jason Trost
>            Assignee: Jason Trost
>            Priority: Trivial
>              Labels: patch
>             Fix For: 1.5.0
>
>         Attachments: family-iterator-with-tests.patch, family-iterator.patch
>
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> In the buildDocKey() function within the FamilyIntersectingIterator there is a bug that shortens the docID by 1.  This causes the wrong doc's data to be returned in the results of a query using this Iterator.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (ACCUMULO-178) Off-by-one error in FamilyIntersectingIterator

Posted by "Keith Turner (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Turner updated ACCUMULO-178:
----------------------------------

    Affects Version/s:     (was: 1.3.6)
                           (was: 1.5.0)
                           (was: 1.4.0)
        Fix Version/s:     (was: 1.5.0)
                       1.3.6
                       1.4.0
    
> Off-by-one error in FamilyIntersectingIterator
> ----------------------------------------------
>
>                 Key: ACCUMULO-178
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-178
>             Project: Accumulo
>          Issue Type: Bug
>          Components: tserver
>    Affects Versions: 1.3.5
>            Reporter: Jason Trost
>            Assignee: Jason Trost
>            Priority: Trivial
>              Labels: patch
>             Fix For: 1.4.0, 1.3.6
>
>         Attachments: family-iterator-with-tests.patch, family-iterator.patch
>
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> In the buildDocKey() function within the FamilyIntersectingIterator there is a bug that shortens the docID by 1.  This causes the wrong doc's data to be returned in the results of a query using this Iterator.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (ACCUMULO-178) Off-by-one error in FamilyIntersectingIterator

Posted by "Jason Trost (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Trost updated ACCUMULO-178:
---------------------------------

    Status: Patch Available  (was: Open)
    
> Off-by-one error in FamilyIntersectingIterator
> ----------------------------------------------
>
>                 Key: ACCUMULO-178
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-178
>             Project: Accumulo
>          Issue Type: Bug
>          Components: tserver
>    Affects Versions: 1.3.5, 1.4.0, 1.5.0, 1.3.6
>            Reporter: Jason Trost
>            Assignee: Keith Turner
>            Priority: Trivial
>              Labels: patch
>             Fix For: 1.5.0
>
>         Attachments: family-iterator.patch
>
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> In the buildDocKey() function within the FamilyIntersectingIterator there is a bug that shortens the docID by 1.  This causes the wrong doc's data to be returned in the results of a query using this Iterator.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (ACCUMULO-178) Off-by-one error in FamilyIntersectingIterator

Posted by "Eric Newton (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Newton updated ACCUMULO-178:
---------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)
    
> Off-by-one error in FamilyIntersectingIterator
> ----------------------------------------------
>
>                 Key: ACCUMULO-178
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-178
>             Project: Accumulo
>          Issue Type: Bug
>          Components: tserver
>    Affects Versions: 1.3.5, 1.4.0, 1.5.0, 1.3.6
>            Reporter: Jason Trost
>            Assignee: Jason Trost
>            Priority: Trivial
>              Labels: patch
>             Fix For: 1.5.0
>
>         Attachments: family-iterator-with-tests.patch, family-iterator.patch
>
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> In the buildDocKey() function within the FamilyIntersectingIterator there is a bug that shortens the docID by 1.  This causes the wrong doc's data to be returned in the results of a query using this Iterator.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (ACCUMULO-178) Off-by-one error in FamilyIntersectingIterator

Posted by "Jason Trost (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Trost updated ACCUMULO-178:
---------------------------------

    Attachment: family-iterator-with-tests.patch

See attached patch.  These test cases now look for the correct value associated with the docID.
                
> Off-by-one error in FamilyIntersectingIterator
> ----------------------------------------------
>
>                 Key: ACCUMULO-178
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-178
>             Project: Accumulo
>          Issue Type: Bug
>          Components: tserver
>    Affects Versions: 1.3.5, 1.4.0, 1.5.0, 1.3.6
>            Reporter: Jason Trost
>            Assignee: Keith Turner
>            Priority: Trivial
>              Labels: patch
>             Fix For: 1.5.0
>
>         Attachments: family-iterator-with-tests.patch, family-iterator.patch
>
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> In the buildDocKey() function within the FamilyIntersectingIterator there is a bug that shortens the docID by 1.  This causes the wrong doc's data to be returned in the results of a query using this Iterator.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (ACCUMULO-178) Off-by-one error in FamilyIntersectingIterator

Posted by "Eric Newton (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ACCUMULO-178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13156221#comment-13156221 ] 

Eric Newton commented on ACCUMULO-178:
--------------------------------------

Thanks Jason!  Could I trouble you to add to the FamilyIntersectingIteratorTest so that the bug is demonstrated/detected?


                
> Off-by-one error in FamilyIntersectingIterator
> ----------------------------------------------
>
>                 Key: ACCUMULO-178
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-178
>             Project: Accumulo
>          Issue Type: Bug
>          Components: tserver
>    Affects Versions: 1.3.5, 1.4.0, 1.5.0, 1.3.6
>            Reporter: Jason Trost
>            Assignee: Keith Turner
>            Priority: Trivial
>              Labels: patch
>             Fix For: 1.5.0
>
>         Attachments: family-iterator.patch
>
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> In the buildDocKey() function within the FamilyIntersectingIterator there is a bug that shortens the docID by 1.  This causes the wrong doc's data to be returned in the results of a query using this Iterator.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira