[ 
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.1.patch

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

  DPAL-861 HBaseSerDe should allow users to specify the timestamp passed to Puts

  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
  EMPTY

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

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

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

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
>            Reporter: Francis Liu
>         Attachments: HIVE-2781.D1863.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