Phabricator
added a comment - 21/Dec/12 19:55 zshao has requested changes to the revision " [jira] HIVE-3772 Fix a concurrency bug in LazyBinaryUtils due to a static field (patch by Reynold Xin)".
Please take this opportunity to fix all static variables in this file.
By the way, a better way to fix is to use ThreadLocal. That's more effiicient because then we don't need to call new in these low-level functions.
INLINE COMMENTS
serde/src/java/org/apache/hadoop/hive/serde2/lazybinary/LazyBinaryUtils.java:126 Is this a problem for multi-threaded access as well?
REVISION DETAIL
https://reviews.facebook.net/D7155
BRANCH
HIVE-3772 -static-vLongBytes
To: ashutoshc, njain, raghotham, JIRA, zshao, heyongqiang, nzhang, jsichi, pauly, amareshwarisr, cwsteinbach, mbautin