[
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