[ 
https://issues.apache.org/jira/browse/HIVE-2781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Phabricator updated HIVE-2781:
------------------------------

    Attachment: HIVE-2781.D1881.1.patch

toffer requested code review of "HIVE-2781 [jira] HBaseSerDe should allow users 
to specify the timestamp passed to Puts".
Reviewers: JIRA

  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()

TEST PLAN
  Added an unit test.

REVISION DETAIL
  https://reviews.facebook.net/D1881

AFFECTED FILES
  hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java
  hbase-handler/src/test/org/apache/hadoop/hive/hbase/TestHBaseSerDe.java

MANAGE HERALD DIFFERENTIAL RULES
  https://reviews.facebook.net/herald/view/differential/

WHY DID I GET THIS EMAIL?
  https://reviews.facebook.net/herald/transcript/4005/

Tip: use the X-Herald-Rules header to filter Herald messages in your client.

                
> 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, 
> HIVE-2781.D1881.1.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

        

Reply via email to