You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "stack (JIRA)" <ji...@apache.org> on 2007/09/04 23:52:44 UTC

[jira] Created: (HADOOP-1834) [hbase] Scanners ignore timestamp passed on creation

[hbase] Scanners ignore timestamp passed on creation
----------------------------------------------------

                 Key: HADOOP-1834
                 URL: https://issues.apache.org/jira/browse/HADOOP-1834
             Project: Hadoop
          Issue Type: Bug
          Components: contrib/hbase
            Reporter: stack
            Assignee: stack
            Priority: Minor


If a timestamp other than the current time is passed creating scanners, then the scan returns no results.  This bug makes versions older than the latest unscannable.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-1834) [hbase] Scanners ignore timestamp passed on creation

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

stack updated HADOOP-1834:
--------------------------

    Status: Patch Available  (was: In Progress)

Trying hudson again

> [hbase] Scanners ignore timestamp passed on creation
> ----------------------------------------------------
>
>                 Key: HADOOP-1834
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1834
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/hbase
>            Reporter: stack
>            Assignee: stack
>            Priority: Minor
>             Fix For: 0.15.0
>
>         Attachments: hadoop-1834-v2.patch, hadoop-1834.patch
>
>
> If a timestamp other than the current time is passed creating scanners, then the scan returns no results.  This bug makes versions older than the latest unscannable.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-1834) [hbase] Scanners ignore timestamp passed on creation

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12525007 ] 

Hadoop QA commented on HADOOP-1834:
-----------------------------------

+1

http://issues.apache.org/jira/secure/attachment/12365133/hadoop-1834-v2.patch applied and successfully tested against trunk revision r572826.

Test results:   http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/686/testReport/
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/686/console

> [hbase] Scanners ignore timestamp passed on creation
> ----------------------------------------------------
>
>                 Key: HADOOP-1834
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1834
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/hbase
>            Reporter: stack
>            Assignee: stack
>            Priority: Minor
>             Fix For: 0.15.0
>
>         Attachments: hadoop-1834-v2.patch, hadoop-1834.patch
>
>
> If a timestamp other than the current time is passed creating scanners, then the scan returns no results.  This bug makes versions older than the latest unscannable.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-1834) [hbase] Scanners ignore timestamp passed on creation

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

stack updated HADOOP-1834:
--------------------------

    Attachment: hadoop-1834-v2.patch

Same as previous only doesn't include the (mis-)assertion that was broken by this fix.

> [hbase] Scanners ignore timestamp passed on creation
> ----------------------------------------------------
>
>                 Key: HADOOP-1834
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1834
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/hbase
>            Reporter: stack
>            Assignee: stack
>            Priority: Minor
>             Fix For: 0.15.0
>
>         Attachments: hadoop-1834-v2.patch, hadoop-1834.patch
>
>
> If a timestamp other than the current time is passed creating scanners, then the scan returns no results.  This bug makes versions older than the latest unscannable.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-1834) [hbase] Scanners ignore timestamp passed on creation

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

stack updated HADOOP-1834:
--------------------------

    Fix Version/s: 0.15.0
           Status: Patch Available  (was: Open)

Tests pass locally.  Trying hudson.

> [hbase] Scanners ignore timestamp passed on creation
> ----------------------------------------------------
>
>                 Key: HADOOP-1834
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1834
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/hbase
>            Reporter: stack
>            Assignee: stack
>            Priority: Minor
>             Fix For: 0.15.0
>
>         Attachments: hadoop-1834.patch
>
>
> If a timestamp other than the current time is passed creating scanners, then the scan returns no results.  This bug makes versions older than the latest unscannable.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-1834) [hbase] Scanners ignore timestamp passed on creation

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

stack updated HADOOP-1834:
--------------------------

    Status: In Progress  (was: Patch Available)

Added wrong patch...

> [hbase] Scanners ignore timestamp passed on creation
> ----------------------------------------------------
>
>                 Key: HADOOP-1834
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1834
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/hbase
>            Reporter: stack
>            Assignee: stack
>            Priority: Minor
>             Fix For: 0.15.0
>
>         Attachments: hadoop-1834-v2.patch, hadoop-1834.patch
>
>
> If a timestamp other than the current time is passed creating scanners, then the scan returns no results.  This bug makes versions older than the latest unscannable.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-1834) [hbase] Scanners ignore timestamp passed on creation

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

stack updated HADOOP-1834:
--------------------------

    Attachment: hadoop-1834.patch

Here's a fix.  Below is commit message.

{code}
HADOOP-1834 Scanners ignore timestamp passed on creation
M src/contrib/hbase/src/test/org/apache/hadoop/hbase/HBaseTestCase.java
    (addContents): Added overrides that allow specifying a timestamp.
M  src/contrib/hbase/src/test/org/apache/hadoop/hbase/TestTimestamp.java
    Made it so test inherits from HBaseTestCase instead of from HBaseClusterTestCase
    so could add in tests that do not use cluster.
    (testTimestampScanning): Added test for hadoop-1834 bug.
    (testTimestamp): Refactored to remove duplicated code.
M  src/contrib/hbase/src/java/org/apache/hadoop/hbase/HStore.java
    (getNext): Make it respect the timestamp set on construction.
M  src/contrib/hbase/src/java/org/apache/hadoop/hbase/HMemcache.java
    Removed eclipse yellow flag warnings around empty parens and
    auto-boxing longs.
    (getNext): Make it respect the timestamp set on construction.
{code}

> [hbase] Scanners ignore timestamp passed on creation
> ----------------------------------------------------
>
>                 Key: HADOOP-1834
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1834
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/hbase
>            Reporter: stack
>            Assignee: stack
>            Priority: Minor
>         Attachments: hadoop-1834.patch
>
>
> If a timestamp other than the current time is passed creating scanners, then the scan returns no results.  This bug makes versions older than the latest unscannable.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-1834) [hbase] Scanners ignore timestamp passed on creation

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12524964 ] 

Hadoop QA commented on HADOOP-1834:
-----------------------------------

-1, build or testing failed

2 attempts failed to build and test the latest attachment http://issues.apache.org/jira/secure/attachment/12365119/hadoop-1834.patch against trunk revision r572826.

Test results:   http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/683/testReport/
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/683/console

Please note that this message is automatically generated and may represent a problem with the automation system and not the patch.

> [hbase] Scanners ignore timestamp passed on creation
> ----------------------------------------------------
>
>                 Key: HADOOP-1834
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1834
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/hbase
>            Reporter: stack
>            Assignee: stack
>            Priority: Minor
>             Fix For: 0.15.0
>
>         Attachments: hadoop-1834.patch
>
>
> If a timestamp other than the current time is passed creating scanners, then the scan returns no results.  This bug makes versions older than the latest unscannable.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-1834) [hbase] Scanners ignore timestamp passed on creation

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

stack updated HADOOP-1834:
--------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Committed.  Resolving issue.

> [hbase] Scanners ignore timestamp passed on creation
> ----------------------------------------------------
>
>                 Key: HADOOP-1834
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1834
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/hbase
>            Reporter: stack
>            Assignee: stack
>            Priority: Minor
>             Fix For: 0.15.0
>
>         Attachments: hadoop-1834-v2.patch, hadoop-1834.patch
>
>
> If a timestamp other than the current time is passed creating scanners, then the scan returns no results.  This bug makes versions older than the latest unscannable.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.