You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Jim Kellerman (JIRA)" <ji...@apache.org> on 2008/09/02 22:55:44 UTC
[jira] Created: (HBASE-861) get with timestamp will return a value
if there is a version with an earlier timestamp
get with timestamp will return a value if there is a version with an earlier timestamp
--------------------------------------------------------------------------------------
Key: HBASE-861
URL: https://issues.apache.org/jira/browse/HBASE-861
Project: Hadoop HBase
Issue Type: Bug
Affects Versions: 0.2.0, 0.2.1, 0.18.0
Reporter: Jim Kellerman
Priority: Critical
Fix For: 0.2.1, 0.18.0
When an explicit timestamp is specified, no results should be returned if there is no value stored at that timestamp.
A value should be returned (as it currently is) if the timestamp is defaulted or is LATEST_TIMESTAMP (which is the same thing). This works correctly.
Table name "web", columns: "contents:", "anchor:"
store com.cnn.www/contents:/5 value = "t5"
store com.cnn.www/anchor:my.look.ca:/8 value = "CNN.com"
com.cnn.www/anchor:cnnsi.com/9 value = "CNN"
get(com.cnn.www/contents:/8) should return nothing but returns value="t5", timestamp=5
get(com.cnn.www/anchor:my.look.ca:/9) should return nothing, but returns value="CNN.com", timestamp=8
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HBASE-861) get with timestamp will return a value
if there is a version with an earlier timestamp
Posted by "Jonathan Gray (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Gray resolved HBASE-861.
---------------------------------
Resolution: Fixed
Assignee: Jonathan Gray (was: stack)
Fixed as part of HBASE-1304 commit.
Verified in passing unit test: org.apache.hadoop.hbase.client.TestClient.testJIRAs.jiraTest861()
> get with timestamp will return a value if there is a version with an earlier timestamp
> --------------------------------------------------------------------------------------
>
> Key: HBASE-861
> URL: https://issues.apache.org/jira/browse/HBASE-861
> Project: Hadoop HBase
> Issue Type: Bug
> Affects Versions: 0.2.0, 0.2.1, 0.18.0
> Reporter: Jim Kellerman
> Assignee: Jonathan Gray
> Priority: Critical
> Fix For: 0.20.0
>
> Attachments: TestGetTimestamp.java
>
>
> When an explicit timestamp is specified, no results should be returned if there is no value stored at that timestamp.
> A value should be returned (as it currently is) if the timestamp is defaulted or is LATEST_TIMESTAMP (which is the same thing). This works correctly.
> Table name "web", columns: "contents:", "anchor:"
> store com.cnn.www/contents:/5 value = "t5"
> store com.cnn.www/anchor:my.look.ca:/8 value = "CNN.com"
> com.cnn.www/anchor:cnnsi.com/9 value = "CNN"
> get(com.cnn.www/contents:/8) should return nothing but returns value="t5", timestamp=5
> get(com.cnn.www/anchor:my.look.ca:/9) should return nothing, but returns value="CNN.com", timestamp=8
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HBASE-861) get with timestamp will return a value
if there is a version with an earlier timestamp
Posted by "Jim Kellerman (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jim Kellerman updated HBASE-861:
--------------------------------
Attachment: (was: TestGetTimestamp.java)
> get with timestamp will return a value if there is a version with an earlier timestamp
> --------------------------------------------------------------------------------------
>
> Key: HBASE-861
> URL: https://issues.apache.org/jira/browse/HBASE-861
> Project: Hadoop HBase
> Issue Type: Bug
> Affects Versions: 0.2.0, 0.2.1, 0.18.0
> Reporter: Jim Kellerman
> Priority: Critical
> Fix For: 0.2.1, 0.18.0
>
> Attachments: TestGetTimestamp.java
>
>
> When an explicit timestamp is specified, no results should be returned if there is no value stored at that timestamp.
> A value should be returned (as it currently is) if the timestamp is defaulted or is LATEST_TIMESTAMP (which is the same thing). This works correctly.
> Table name "web", columns: "contents:", "anchor:"
> store com.cnn.www/contents:/5 value = "t5"
> store com.cnn.www/anchor:my.look.ca:/8 value = "CNN.com"
> com.cnn.www/anchor:cnnsi.com/9 value = "CNN"
> get(com.cnn.www/contents:/8) should return nothing but returns value="t5", timestamp=5
> get(com.cnn.www/anchor:my.look.ca:/9) should return nothing, but returns value="CNN.com", timestamp=8
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HBASE-861) get with timestamp will return a
value if there is a version with an earlier timestamp
Posted by "Andrew Purtell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12627809#action_12627809 ]
Andrew Purtell commented on HBASE-861:
--------------------------------------
I noticed this behavior back at 0.1.0. I thought the semantics were "give me whatever is most current for timestamp X", then backwards from there up to max_versions?
> get with timestamp will return a value if there is a version with an earlier timestamp
> --------------------------------------------------------------------------------------
>
> Key: HBASE-861
> URL: https://issues.apache.org/jira/browse/HBASE-861
> Project: Hadoop HBase
> Issue Type: Bug
> Affects Versions: 0.2.0, 0.2.1, 0.18.0
> Reporter: Jim Kellerman
> Priority: Critical
> Fix For: 0.2.1, 0.18.0
>
> Attachments: TestGetTimestamp.java
>
>
> When an explicit timestamp is specified, no results should be returned if there is no value stored at that timestamp.
> A value should be returned (as it currently is) if the timestamp is defaulted or is LATEST_TIMESTAMP (which is the same thing). This works correctly.
> Table name "web", columns: "contents:", "anchor:"
> store com.cnn.www/contents:/5 value = "t5"
> store com.cnn.www/anchor:my.look.ca:/8 value = "CNN.com"
> com.cnn.www/anchor:cnnsi.com/9 value = "CNN"
> get(com.cnn.www/contents:/8) should return nothing but returns value="t5", timestamp=5
> get(com.cnn.www/anchor:my.look.ca:/9) should return nothing, but returns value="CNN.com", timestamp=8
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HBASE-861) get with timestamp will return a value
if there is a version with an earlier timestamp
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stack resolved HBASE-861.
-------------------------
Resolution: Fixed
Assignee: (was: Izaak Rubin)
New API doesn't have this issue. I added test for it to TestTimestamp. Search TimestampTestBase for hbase-861.
> get with timestamp will return a value if there is a version with an earlier timestamp
> --------------------------------------------------------------------------------------
>
> Key: HBASE-861
> URL: https://issues.apache.org/jira/browse/HBASE-861
> Project: Hadoop HBase
> Issue Type: Bug
> Affects Versions: 0.2.0, 0.2.1, 0.18.0
> Reporter: Jim Kellerman
> Priority: Critical
> Fix For: 0.20.0
>
> Attachments: TestGetTimestamp.java
>
>
> When an explicit timestamp is specified, no results should be returned if there is no value stored at that timestamp.
> A value should be returned (as it currently is) if the timestamp is defaulted or is LATEST_TIMESTAMP (which is the same thing). This works correctly.
> Table name "web", columns: "contents:", "anchor:"
> store com.cnn.www/contents:/5 value = "t5"
> store com.cnn.www/anchor:my.look.ca:/8 value = "CNN.com"
> com.cnn.www/anchor:cnnsi.com/9 value = "CNN"
> get(com.cnn.www/contents:/8) should return nothing but returns value="t5", timestamp=5
> get(com.cnn.www/anchor:my.look.ca:/9) should return nothing, but returns value="CNN.com", timestamp=8
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HBASE-861) get with timestamp will return a
value if there is a version with an earlier timestamp
Posted by "Jim Kellerman (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12627811#action_12627811 ]
Jim Kellerman commented on HBASE-861:
-------------------------------------
No, it is definitely a bug. See the HBase Architecture document on the wiki.
> get with timestamp will return a value if there is a version with an earlier timestamp
> --------------------------------------------------------------------------------------
>
> Key: HBASE-861
> URL: https://issues.apache.org/jira/browse/HBASE-861
> Project: Hadoop HBase
> Issue Type: Bug
> Affects Versions: 0.2.0, 0.2.1, 0.18.0
> Reporter: Jim Kellerman
> Priority: Critical
> Fix For: 0.2.1, 0.18.0
>
> Attachments: TestGetTimestamp.java
>
>
> When an explicit timestamp is specified, no results should be returned if there is no value stored at that timestamp.
> A value should be returned (as it currently is) if the timestamp is defaulted or is LATEST_TIMESTAMP (which is the same thing). This works correctly.
> Table name "web", columns: "contents:", "anchor:"
> store com.cnn.www/contents:/5 value = "t5"
> store com.cnn.www/anchor:my.look.ca:/8 value = "CNN.com"
> com.cnn.www/anchor:cnnsi.com/9 value = "CNN"
> get(com.cnn.www/contents:/8) should return nothing but returns value="t5", timestamp=5
> get(com.cnn.www/anchor:my.look.ca:/9) should return nothing, but returns value="CNN.com", timestamp=8
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HBASE-861) get with timestamp will return a value
if there is a version with an earlier timestamp
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stack reassigned HBASE-861:
---------------------------
Assignee: stack
> get with timestamp will return a value if there is a version with an earlier timestamp
> --------------------------------------------------------------------------------------
>
> Key: HBASE-861
> URL: https://issues.apache.org/jira/browse/HBASE-861
> Project: Hadoop HBase
> Issue Type: Bug
> Affects Versions: 0.2.0, 0.2.1, 0.18.0
> Reporter: Jim Kellerman
> Assignee: stack
> Priority: Critical
> Fix For: 0.20.0
>
> Attachments: TestGetTimestamp.java
>
>
> When an explicit timestamp is specified, no results should be returned if there is no value stored at that timestamp.
> A value should be returned (as it currently is) if the timestamp is defaulted or is LATEST_TIMESTAMP (which is the same thing). This works correctly.
> Table name "web", columns: "contents:", "anchor:"
> store com.cnn.www/contents:/5 value = "t5"
> store com.cnn.www/anchor:my.look.ca:/8 value = "CNN.com"
> com.cnn.www/anchor:cnnsi.com/9 value = "CNN"
> get(com.cnn.www/contents:/8) should return nothing but returns value="t5", timestamp=5
> get(com.cnn.www/anchor:my.look.ca:/9) should return nothing, but returns value="CNN.com", timestamp=8
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HBASE-861) get with timestamp will return a value
if there is a version with an earlier timestamp
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stack updated HBASE-861:
------------------------
Fix Version/s: (was: 0.2.1)
(was: 0.18.0)
0.2.2
Moved this out of 0.2.1.
> get with timestamp will return a value if there is a version with an earlier timestamp
> --------------------------------------------------------------------------------------
>
> Key: HBASE-861
> URL: https://issues.apache.org/jira/browse/HBASE-861
> Project: Hadoop HBase
> Issue Type: Bug
> Affects Versions: 0.2.0, 0.2.1, 0.18.0
> Reporter: Jim Kellerman
> Priority: Critical
> Fix For: 0.2.2
>
> Attachments: TestGetTimestamp.java
>
>
> When an explicit timestamp is specified, no results should be returned if there is no value stored at that timestamp.
> A value should be returned (as it currently is) if the timestamp is defaulted or is LATEST_TIMESTAMP (which is the same thing). This works correctly.
> Table name "web", columns: "contents:", "anchor:"
> store com.cnn.www/contents:/5 value = "t5"
> store com.cnn.www/anchor:my.look.ca:/8 value = "CNN.com"
> com.cnn.www/anchor:cnnsi.com/9 value = "CNN"
> get(com.cnn.www/contents:/8) should return nothing but returns value="t5", timestamp=5
> get(com.cnn.www/anchor:my.look.ca:/9) should return nothing, but returns value="CNN.com", timestamp=8
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HBASE-861) get with timestamp will return a value
if there is a version with an earlier timestamp
Posted by "Jim Kellerman (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jim Kellerman updated HBASE-861:
--------------------------------
Attachment: TestGetTimestamp.java
Program that demonstrates the problem
> get with timestamp will return a value if there is a version with an earlier timestamp
> --------------------------------------------------------------------------------------
>
> Key: HBASE-861
> URL: https://issues.apache.org/jira/browse/HBASE-861
> Project: Hadoop HBase
> Issue Type: Bug
> Affects Versions: 0.2.0, 0.2.1, 0.18.0
> Reporter: Jim Kellerman
> Priority: Critical
> Fix For: 0.2.1, 0.18.0
>
> Attachments: TestGetTimestamp.java
>
>
> When an explicit timestamp is specified, no results should be returned if there is no value stored at that timestamp.
> A value should be returned (as it currently is) if the timestamp is defaulted or is LATEST_TIMESTAMP (which is the same thing). This works correctly.
> Table name "web", columns: "contents:", "anchor:"
> store com.cnn.www/contents:/5 value = "t5"
> store com.cnn.www/anchor:my.look.ca:/8 value = "CNN.com"
> com.cnn.www/anchor:cnnsi.com/9 value = "CNN"
> get(com.cnn.www/contents:/8) should return nothing but returns value="t5", timestamp=5
> get(com.cnn.www/anchor:my.look.ca:/9) should return nothing, but returns value="CNN.com", timestamp=8
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (HBASE-861) get with timestamp will return a value
if there is a version with an earlier timestamp
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stack reopened HBASE-861:
-------------------------
My test was wrong; this problem seems to be in place even in hbase-1304.
> get with timestamp will return a value if there is a version with an earlier timestamp
> --------------------------------------------------------------------------------------
>
> Key: HBASE-861
> URL: https://issues.apache.org/jira/browse/HBASE-861
> Project: Hadoop HBase
> Issue Type: Bug
> Affects Versions: 0.2.0, 0.2.1, 0.18.0
> Reporter: Jim Kellerman
> Assignee: stack
> Priority: Critical
> Fix For: 0.20.0
>
> Attachments: TestGetTimestamp.java
>
>
> When an explicit timestamp is specified, no results should be returned if there is no value stored at that timestamp.
> A value should be returned (as it currently is) if the timestamp is defaulted or is LATEST_TIMESTAMP (which is the same thing). This works correctly.
> Table name "web", columns: "contents:", "anchor:"
> store com.cnn.www/contents:/5 value = "t5"
> store com.cnn.www/anchor:my.look.ca:/8 value = "CNN.com"
> com.cnn.www/anchor:cnnsi.com/9 value = "CNN"
> get(com.cnn.www/contents:/8) should return nothing but returns value="t5", timestamp=5
> get(com.cnn.www/anchor:my.look.ca:/9) should return nothing, but returns value="CNN.com", timestamp=8
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HBASE-861) get with timestamp will return a
value if there is a version with an earlier timestamp
Posted by "Izaak Rubin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12630001#action_12630001 ]
Izaak Rubin commented on HBASE-861:
-----------------------------------
Has there been a consensus on whether this is actually a problem or not? Last I heard, Stack thinks this is not a problem and Jim thinks it is. Let me know what gets decided.
> get with timestamp will return a value if there is a version with an earlier timestamp
> --------------------------------------------------------------------------------------
>
> Key: HBASE-861
> URL: https://issues.apache.org/jira/browse/HBASE-861
> Project: Hadoop HBase
> Issue Type: Bug
> Affects Versions: 0.2.0, 0.2.1, 0.18.0
> Reporter: Jim Kellerman
> Assignee: Izaak Rubin
> Priority: Critical
> Fix For: 0.2.2
>
> Attachments: TestGetTimestamp.java
>
>
> When an explicit timestamp is specified, no results should be returned if there is no value stored at that timestamp.
> A value should be returned (as it currently is) if the timestamp is defaulted or is LATEST_TIMESTAMP (which is the same thing). This works correctly.
> Table name "web", columns: "contents:", "anchor:"
> store com.cnn.www/contents:/5 value = "t5"
> store com.cnn.www/anchor:my.look.ca:/8 value = "CNN.com"
> com.cnn.www/anchor:cnnsi.com/9 value = "CNN"
> get(com.cnn.www/contents:/8) should return nothing but returns value="t5", timestamp=5
> get(com.cnn.www/anchor:my.look.ca:/9) should return nothing, but returns value="CNN.com", timestamp=8
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HBASE-861) get with timestamp will return a value
if there is a version with an earlier timestamp
Posted by "Jim Kellerman (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jim Kellerman updated HBASE-861:
--------------------------------
Attachment: TestGetTimestamp.java
Test program that demonstrates the problem.
> get with timestamp will return a value if there is a version with an earlier timestamp
> --------------------------------------------------------------------------------------
>
> Key: HBASE-861
> URL: https://issues.apache.org/jira/browse/HBASE-861
> Project: Hadoop HBase
> Issue Type: Bug
> Affects Versions: 0.2.0, 0.2.1, 0.18.0
> Reporter: Jim Kellerman
> Priority: Critical
> Fix For: 0.2.1, 0.18.0
>
> Attachments: TestGetTimestamp.java
>
>
> When an explicit timestamp is specified, no results should be returned if there is no value stored at that timestamp.
> A value should be returned (as it currently is) if the timestamp is defaulted or is LATEST_TIMESTAMP (which is the same thing). This works correctly.
> Table name "web", columns: "contents:", "anchor:"
> store com.cnn.www/contents:/5 value = "t5"
> store com.cnn.www/anchor:my.look.ca:/8 value = "CNN.com"
> com.cnn.www/anchor:cnnsi.com/9 value = "CNN"
> get(com.cnn.www/contents:/8) should return nothing but returns value="t5", timestamp=5
> get(com.cnn.www/anchor:my.look.ca:/9) should return nothing, but returns value="CNN.com", timestamp=8
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HBASE-861) get with timestamp will return a value
if there is a version with an earlier timestamp
Posted by "Jim Kellerman (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jim Kellerman updated HBASE-861:
--------------------------------
Fix Version/s: (was: 0.2.2)
0.20.0
> get with timestamp will return a value if there is a version with an earlier timestamp
> --------------------------------------------------------------------------------------
>
> Key: HBASE-861
> URL: https://issues.apache.org/jira/browse/HBASE-861
> Project: Hadoop HBase
> Issue Type: Bug
> Affects Versions: 0.2.0, 0.2.1, 0.18.0
> Reporter: Jim Kellerman
> Assignee: Izaak Rubin
> Priority: Critical
> Fix For: 0.20.0
>
> Attachments: TestGetTimestamp.java
>
>
> When an explicit timestamp is specified, no results should be returned if there is no value stored at that timestamp.
> A value should be returned (as it currently is) if the timestamp is defaulted or is LATEST_TIMESTAMP (which is the same thing). This works correctly.
> Table name "web", columns: "contents:", "anchor:"
> store com.cnn.www/contents:/5 value = "t5"
> store com.cnn.www/anchor:my.look.ca:/8 value = "CNN.com"
> com.cnn.www/anchor:cnnsi.com/9 value = "CNN"
> get(com.cnn.www/contents:/8) should return nothing but returns value="t5", timestamp=5
> get(com.cnn.www/anchor:my.look.ca:/9) should return nothing, but returns value="CNN.com", timestamp=8
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HBASE-861) get with timestamp will return a value
if there is a version with an earlier timestamp
Posted by "Izaak Rubin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Izaak Rubin reassigned HBASE-861:
---------------------------------
Assignee: Izaak Rubin
> get with timestamp will return a value if there is a version with an earlier timestamp
> --------------------------------------------------------------------------------------
>
> Key: HBASE-861
> URL: https://issues.apache.org/jira/browse/HBASE-861
> Project: Hadoop HBase
> Issue Type: Bug
> Affects Versions: 0.2.0, 0.2.1, 0.18.0
> Reporter: Jim Kellerman
> Assignee: Izaak Rubin
> Priority: Critical
> Fix For: 0.2.2
>
> Attachments: TestGetTimestamp.java
>
>
> When an explicit timestamp is specified, no results should be returned if there is no value stored at that timestamp.
> A value should be returned (as it currently is) if the timestamp is defaulted or is LATEST_TIMESTAMP (which is the same thing). This works correctly.
> Table name "web", columns: "contents:", "anchor:"
> store com.cnn.www/contents:/5 value = "t5"
> store com.cnn.www/anchor:my.look.ca:/8 value = "CNN.com"
> com.cnn.www/anchor:cnnsi.com/9 value = "CNN"
> get(com.cnn.www/contents:/8) should return nothing but returns value="t5", timestamp=5
> get(com.cnn.www/anchor:my.look.ca:/9) should return nothing, but returns value="CNN.com", timestamp=8
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.