[
https://issues.apache.org/jira/browse/HIVE-2781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Phabricator updated HIVE-2781:
------------------------------
Attachment: HIVE-2781.D1863.2.patch
navis updated the revision "HIVE-2781 [jira] HBaseSerDe should allow users to
specify the timestamp passed to Puts".
Reviewers: JIRA
Bug fix for timestamp=-1
REVISION DETAIL
https://reviews.facebook.net/D1863
AFFECTED FILES
hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java
hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseStorageHandler.java
hbase-handler/src/java/org/apache/hadoop/hive/hbase/HiveHBaseTableInputFormat.java
hbase-handler/src/java/org/apache/hadoop/hive/hbase/LazyHBaseRow.java
hbase-handler/src/test/org/apache/hadoop/hive/hbase/TestLazyHBaseObject.java
hbase-handler/src/test/queries/hbase_timestamp.q
hbase-handler/src/test/results/hbase_timestamp.q.out
> HBaseSerDe should allow users to specify the timestamp passed to Puts
> ----------------------------------------------------------------------
>
> Key: HIVE-2781
> URL: https://issues.apache.org/jira/browse/HIVE-2781
> Project: Hive
> Issue Type: Improvement
> Affects Versions: 0.9.0
> Reporter: Francis Liu
> Assignee: Navis
> Fix For: 0.9.0
>
> Attachments: HIVE-2781.D1863.1.patch, HIVE-2781.D1863.2.patch
>
>
> Users may want to specify the timestamp used for Put requests to hbase. Thus
> enabling users to have the same timestamp for a single batch of writes. Which
> would be useful for a number of things. HCatalog's HBase storageHandler
> implementation makes use of this feature to provide users with snapshot
> isolation and write transactions. My proposal is to add the timestamp option
> as a final static member:
> public static final long HBASE_PUT_TIMESTAMP = "hbase.put_timestamp"
> And passing this value to all the Puts created by serialize()
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira