Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-2781

HBaseSerDe should allow users to specify the timestamp passed to Puts

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.0
    • 0.9.0
    • None
    • None
    • hbase

    Description

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

      Attachments

        1. HIVE-2781.D1881.1.patch
          5 kB
          Francis Christopher Liu
        2. ASF.LICENSE.NOT.GRANTED--HIVE-2781.D1881.1.patch
          5 kB
          Phabricator
        3. ASF.LICENSE.NOT.GRANTED--HIVE-2781.D1863.2.patch
          23 kB
          Phabricator
        4. ASF.LICENSE.NOT.GRANTED--HIVE-2781.D1863.1.patch
          22 kB
          Phabricator

        Activity

          People

            toffer Francis Christopher Liu
            toffer Francis Christopher Liu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: