[
https://issues.apache.org/jira/browse/GORA-443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15878331#comment-15878331
]
ASF GitHub Bot commented on GORA-443:
-------------------------------------
Github user cloudysunny14 commented on the issue:
https://github.com/apache/gora/pull/95
Thank you for comments.
I think this is because of the reason as follows:
First, BufferedMutation#flush is processed synchronously,
and a batch request (MultiRequest) is created from a buffered mutations.
Then, RegionServer processes a MultiRequest as a
minibatch(HRegion#doMiniBatchMutation) that updates the timestamp of each cell
to currentTime if Mutation has HConstants.LATEST_TIMESTAMP(by default).
This operation apply all mutations in minibatch, therefore all cells has
same timestamp.
Since the HBaseStore#put create the Delete and Put as the MultiRequest,
Puts are invisible.
See Also:
https://issues.apache.org/jira/browse/HBASE-2256
https://hbase.apache.org/book.html#version.delete
I'm sorry for my poor english :(
I made this fix as a possible solution. (HACK)
https://github.com/apache/gora/pull/95/commits/b0cd1950c978181890213e1c85e437e44421405e
However, does not pass testDeleteByQueryFields yet.
This is known issue GORA-472. I will create(reopen) the pull request for
GORA-472 later.
and I am trying to run all test..
Kiyonari Harigae
> Upgrade HBase to 1.2.3
> ----------------------
>
> Key: GORA-443
> URL: https://issues.apache.org/jira/browse/GORA-443
> Project: Apache Gora
> Issue Type: Improvement
> Components: gora-hbase
> Reporter: Ted Yu
> Assignee: Lewis John McGibbney
> Fix For: 0.7
>
>
> HBase 1.1.2 release is the current stable release.
> Gora should be built based on HBase 1.1.2
> Currently I got the following compilation error:
> {code}
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile)
> on project gora-hbase: Compilation failure
> [ERROR]
> /home/hbase/gora/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseTableConnection.java:[59,7]
> error: HBaseTableConnection is not abstract and does not override abstract
> method checkAndDelete(byte[],byte[],byte[],CompareOp,byte[],Delete) in Table
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)