Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-1824

[stargate] default timestamp should be LATEST_TIMESTAMP

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.20.1, 0.90.0
    • None
    • None

    Description

      From Greg Cottman up on hbase-user@

      f I don't put the optional "timestamp" attribute in a Cell when I'm inserting data, the timestamp ends up as zero, which caused much confusion because it pre-dates the value I thought I was replacing. I assumed that not specifying this attribute would cause the timestamp to default to the current HBase server time. Instead I found I had to specify the timestamp as "-1" to get this behaviour. Is this a bug or an intentional semantic?

      Attachments

        1. HBASE-1824.patch
          3 kB
          Andrew Kyle Purtell

        Activity

          People

            apurtell Andrew Kyle Purtell
            apurtell Andrew Kyle Purtell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: