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

    Details

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

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

                Dates

                • Created:
                  Updated:
                  Resolved: