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

Fix concurrency bug in serde/src/java/org/apache/hadoop/hive/serde2/io/TimestampWritable.java

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.12.0
    • None
    • None

    Description

      A patch for concurrent use of TimestampWritable which occurs in a multithreaded scenario (as found in AmpLab Shark). A static SimpleDateFormat (not ThreadSafe) is used by TimestampWritable in CTAS DDL statements where it manifests as data corruption when used in a concurrent environment.

      Attachments

        1. TimestampWritable.java.patch
          2 kB
          Jon Hartlaub
        2. HIVE-4516.D10929.1.patch
          2 kB
          Phabricator

        Issue Links

          Activity

            People

              jhartlaub Jon Hartlaub
              jhartlaub Jon Hartlaub
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: