hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Navis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-4516) Fix concurrency bug in serde/src/java/org/apache/hadoop/hive/serde2/io/TimestampWritable.java
Date Fri, 24 May 2013 11:11:20 GMT

    [ https://issues.apache.org/jira/browse/HIVE-4516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13666205#comment-13666205
] 

Navis commented on HIVE-4516:
-----------------------------

passed all tests. But HIVE-4220 has some minor optimization which removes unnecessary date.toString()
call. It would be good to be merged with that.
                
> 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
>         Attachments: 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

Mime
View raw message