You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org> on 2009/08/25 21:37:59 UTC

[jira] Created: (HBASE-1793) [Regression] HTable.get/getRow with a ts is broken

[Regression] HTable.get/getRow with a ts is broken
--------------------------------------------------

                 Key: HBASE-1793
                 URL: https://issues.apache.org/jira/browse/HBASE-1793
             Project: Hadoop HBase
          Issue Type: Bug
    Affects Versions: 0.20.0
            Reporter: Jean-Daniel Cryans


If using the old API with 0.20, the behavior of get and getRow is changed when setting a timestamp. Previously, setting a ts was working like a time range and now it works like an exact time.

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


[jira] Commented: (HBASE-1793) [Regression] HTable.get/getRow with a ts is broken

Posted by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12747662#action_12747662 ] 

Jean-Daniel Cryans commented on HBASE-1793:
-------------------------------------------

New patch coming, I forgot that the max timestamp was exclusive.

> [Regression] HTable.get/getRow with a ts is broken
> --------------------------------------------------
>
>                 Key: HBASE-1793
>                 URL: https://issues.apache.org/jira/browse/HBASE-1793
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.20.0
>            Reporter: Jean-Daniel Cryans
>         Attachments: HBASE-1793.patch
>
>
> If using the old API with 0.20, the behavior of get and getRow is changed when setting a timestamp. Previously, setting a ts was working like a time range and now it works like an exact time.

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


[jira] Commented: (HBASE-1793) [Regression] HTable.get/getRow with a ts is broken

Posted by "Jonathan Gray (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12747711#action_12747711 ] 

Jonathan Gray commented on HBASE-1793:
--------------------------------------

Patch looks good.  +1 for commit in branch and trunk after jd testing.

> [Regression] HTable.get/getRow with a ts is broken
> --------------------------------------------------
>
>                 Key: HBASE-1793
>                 URL: https://issues.apache.org/jira/browse/HBASE-1793
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.20.0
>            Reporter: Jean-Daniel Cryans
>         Attachments: HBASE-1793-2.patch, HBASE-1793.patch
>
>
> If using the old API with 0.20, the behavior of get and getRow is changed when setting a timestamp. Previously, setting a ts was working like a time range and now it works like an exact time.

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


[jira] Commented: (HBASE-1793) [Regression] HTable.get/getRow with a ts is broken

Posted by "Jonathan Gray (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12747600#action_12747600 ] 

Jonathan Gray commented on HBASE-1793:
--------------------------------------

Spoke with JD on this.  +1 on making 0.20 old API behavior consistent with 0.19 behavior across the board.

> [Regression] HTable.get/getRow with a ts is broken
> --------------------------------------------------
>
>                 Key: HBASE-1793
>                 URL: https://issues.apache.org/jira/browse/HBASE-1793
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.20.0
>            Reporter: Jean-Daniel Cryans
>
> If using the old API with 0.20, the behavior of get and getRow is changed when setting a timestamp. Previously, setting a ts was working like a time range and now it works like an exact time.

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


[jira] Commented: (HBASE-1793) [Regression] HTable.get/getRow with a ts is broken

Posted by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12747606#action_12747606 ] 

Jean-Daniel Cryans commented on HBASE-1793:
-------------------------------------------

The code that was failing before now passes its unit tests with this patch.

> [Regression] HTable.get/getRow with a ts is broken
> --------------------------------------------------
>
>                 Key: HBASE-1793
>                 URL: https://issues.apache.org/jira/browse/HBASE-1793
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.20.0
>            Reporter: Jean-Daniel Cryans
>         Attachments: HBASE-1793.patch
>
>
> If using the old API with 0.20, the behavior of get and getRow is changed when setting a timestamp. Previously, setting a ts was working like a time range and now it works like an exact time.

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


[jira] Updated: (HBASE-1793) [Regression] HTable.get/getRow with a ts is broken

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

Jean-Daniel Cryans updated HBASE-1793:
--------------------------------------

    Attachment: HBASE-1793-2.patch

Patch that respects the exclusion of maxtimestamp.

> [Regression] HTable.get/getRow with a ts is broken
> --------------------------------------------------
>
>                 Key: HBASE-1793
>                 URL: https://issues.apache.org/jira/browse/HBASE-1793
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.20.0
>            Reporter: Jean-Daniel Cryans
>         Attachments: HBASE-1793-2.patch, HBASE-1793.patch
>
>
> If using the old API with 0.20, the behavior of get and getRow is changed when setting a timestamp. Previously, setting a ts was working like a time range and now it works like an exact time.

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


[jira] Resolved: (HBASE-1793) [Regression] HTable.get/getRow with a ts is broken

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

Jean-Daniel Cryans resolved HBASE-1793.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.21.0
                   0.20.0
         Assignee: Jean-Daniel Cryans
     Hadoop Flags: [Reviewed]

Committed to branch and trunk., tests now work great.

> [Regression] HTable.get/getRow with a ts is broken
> --------------------------------------------------
>
>                 Key: HBASE-1793
>                 URL: https://issues.apache.org/jira/browse/HBASE-1793
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.20.0
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>             Fix For: 0.20.0, 0.21.0
>
>         Attachments: HBASE-1793-2.patch, HBASE-1793.patch
>
>
> If using the old API with 0.20, the behavior of get and getRow is changed when setting a timestamp. Previously, setting a ts was working like a time range and now it works like an exact time.

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


[jira] Updated: (HBASE-1793) [Regression] HTable.get/getRow with a ts is broken

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

Jean-Daniel Cryans updated HBASE-1793:
--------------------------------------

    Attachment: HBASE-1793.patch

Patch that fixes the gets and scans. I will test it with some legacy code.

> [Regression] HTable.get/getRow with a ts is broken
> --------------------------------------------------
>
>                 Key: HBASE-1793
>                 URL: https://issues.apache.org/jira/browse/HBASE-1793
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.20.0
>            Reporter: Jean-Daniel Cryans
>         Attachments: HBASE-1793.patch
>
>
> If using the old API with 0.20, the behavior of get and getRow is changed when setting a timestamp. Previously, setting a ts was working like a time range and now it works like an exact time.

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