You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Ivan Bella (JIRA)" <ji...@apache.org> on 2012/10/18 00:28:03 UTC

[jira] [Created] (ACCUMULO-821) MockBatchScanner inappropriately filters on ranges

Ivan Bella created ACCUMULO-821:
-----------------------------------

             Summary: MockBatchScanner inappropriately filters on ranges
                 Key: ACCUMULO-821
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-821
             Project: Accumulo
          Issue Type: Bug
          Components: tserver
    Affects Versions: 1.4.1, 1.4.2
         Environment: Accumulo 1.4.1, zookeeper 3.3.1, java 1.6.0_33
            Reporter: Ivan Bella
            Assignee: Keith Turner
             Fix For: 1.5.0


I believe I have a legitimate case where an iterator will return something outside of the seeked-to range.  This appears to work in a live system, but fails to work in test cases using the MockBatchScanner.  I believe this is because the MockBatchScanner filters on the supplied ranges in addition to seeking the iterators to each range.  Either we need to remove this range filter, or fix the real system to do the same thing.  I prefer the former of course.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (ACCUMULO-821) MockBatchScanner inappropriately filters on ranges

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

Eric Newton resolved ACCUMULO-821.
----------------------------------

    Resolution: Fixed

fixed with rev 1400171
                
> MockBatchScanner inappropriately filters on ranges
> --------------------------------------------------
>
>                 Key: ACCUMULO-821
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-821
>             Project: Accumulo
>          Issue Type: Bug
>          Components: tserver
>    Affects Versions: 1.4.1, 1.4.2
>         Environment: Accumulo 1.4.1, zookeeper 3.3.1, java 1.6.0_33
>            Reporter: Ivan Bella
>            Assignee: Keith Turner
>              Labels: test
>             Fix For: 1.5.0
>
>
> I believe I have a legitimate case where an iterator will return something outside of the seeked-to range.  This appears to work in a live system, but fails to work in test cases using the MockBatchScanner.  I believe this is because the MockBatchScanner filters on the supplied ranges in addition to seeking the iterators to each range.  Either we need to remove this range filter, or fix the real system to do the same thing.  I prefer the former of course.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (ACCUMULO-821) MockBatchScanner inappropriately filters on ranges

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

Hudson commented on ACCUMULO-821:
---------------------------------

Integrated in Accumulo-Trunk #531 (See [https://builds.apache.org/job/Accumulo-Trunk/531/])
    ACCUMULO-821 RangesFilter no longer needed (Revision 1400201)

     Result = SUCCESS
ecn : 
Files : 
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/mock/MockBatchScanner.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/mock/MockScanner.java

                
> MockBatchScanner inappropriately filters on ranges
> --------------------------------------------------
>
>                 Key: ACCUMULO-821
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-821
>             Project: Accumulo
>          Issue Type: Bug
>          Components: tserver
>    Affects Versions: 1.4.1, 1.4.2
>         Environment: Accumulo 1.4.1, zookeeper 3.3.1, java 1.6.0_33
>            Reporter: Ivan Bella
>            Assignee: Keith Turner
>              Labels: test
>             Fix For: 1.5.0
>
>
> I believe I have a legitimate case where an iterator will return something outside of the seeked-to range.  This appears to work in a live system, but fails to work in test cases using the MockBatchScanner.  I believe this is because the MockBatchScanner filters on the supplied ranges in addition to seeking the iterators to each range.  Either we need to remove this range filter, or fix the real system to do the same thing.  I prefer the former of course.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (ACCUMULO-821) MockBatchScanner inappropriately filters on ranges

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

Eric Newton commented on ACCUMULO-821:
--------------------------------------

Can you provide a short unit test?
                
> MockBatchScanner inappropriately filters on ranges
> --------------------------------------------------
>
>                 Key: ACCUMULO-821
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-821
>             Project: Accumulo
>          Issue Type: Bug
>          Components: tserver
>    Affects Versions: 1.4.1, 1.4.2
>         Environment: Accumulo 1.4.1, zookeeper 3.3.1, java 1.6.0_33
>            Reporter: Ivan Bella
>            Assignee: Keith Turner
>              Labels: test
>             Fix For: 1.5.0
>
>
> I believe I have a legitimate case where an iterator will return something outside of the seeked-to range.  This appears to work in a live system, but fails to work in test cases using the MockBatchScanner.  I believe this is because the MockBatchScanner filters on the supplied ranges in addition to seeking the iterators to each range.  Either we need to remove this range filter, or fix the real system to do the same thing.  I prefer the former of course.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (ACCUMULO-821) MockBatchScanner inappropriately filters on ranges

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

Hudson commented on ACCUMULO-821:
---------------------------------

Integrated in Accumulo-Trunk #530 (See [https://builds.apache.org/job/Accumulo-Trunk/530/])
    ACCUMULO-821 unit test out-of-range keys returned from an iterator stack (Revision 1400171)

     Result = SUCCESS
ecn : 
Files : 
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/mock/MockBatchScanner.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/mock/MockScanner.java
* /accumulo/trunk/core/src/test/java/org/apache/accumulo/core/client/TestThrift1474.java
* /accumulo/trunk/core/src/test/java/org/apache/accumulo/core/client/mock/TestBatchScanner821.java
* /accumulo/trunk/core/src/test/java/org/apache/accumulo/core/client/mock/TransformIterator.java

                
> MockBatchScanner inappropriately filters on ranges
> --------------------------------------------------
>
>                 Key: ACCUMULO-821
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-821
>             Project: Accumulo
>          Issue Type: Bug
>          Components: tserver
>    Affects Versions: 1.4.1, 1.4.2
>         Environment: Accumulo 1.4.1, zookeeper 3.3.1, java 1.6.0_33
>            Reporter: Ivan Bella
>            Assignee: Keith Turner
>              Labels: test
>             Fix For: 1.5.0
>
>
> I believe I have a legitimate case where an iterator will return something outside of the seeked-to range.  This appears to work in a live system, but fails to work in test cases using the MockBatchScanner.  I believe this is because the MockBatchScanner filters on the supplied ranges in addition to seeking the iterators to each range.  Either we need to remove this range filter, or fix the real system to do the same thing.  I prefer the former of course.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira