You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2013/06/05 02:28:20 UTC

[jira] [Updated] (HIVE-4516) Fix concurrency bug in serde/src/java/org/apache/hadoop/hive/serde2/io/TimestampWritable.java

     [ https://issues.apache.org/jira/browse/HIVE-4516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashutosh Chauhan updated HIVE-4516:
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.12.0
         Assignee: Jon Hartlaub
           Status: Resolved  (was: Patch Available)

Committed to trunk. Thanks, Jon and Navis!
                
> Fix concurrency bug in serde/src/java/org/apache/hadoop/hive/serde2/io/TimestampWritable.java
> ---------------------------------------------------------------------------------------------
>
>                 Key: HIVE-4516
>                 URL: https://issues.apache.org/jira/browse/HIVE-4516
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Jon Hartlaub
>            Assignee: Jon Hartlaub
>             Fix For: 0.12.0
>
>         Attachments: HIVE-4516.D10929.1.patch, TimestampWritable.java.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira