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

HBaseSerDe should allow users to specify the timestamp passed to Puts

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0
    • Fix Version/s: 0.9.0
    • Component/s: None
    • Labels:
      None
    • Tags:
      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 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

            • Assignee:
              toffer Francis Liu
              Reporter:
              toffer Francis Liu
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: