hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leon <ljw2...@alibaba-inc.com>
Subject about SimpleDateFormat in code
Date Mon, 29 Dec 2008 04:59:08 GMT
Hi all
i execute following script from hadoop source code:
find . |grep -v svn |grep java$ |xargs grep SimpleDateFormat |grep static
I got many result.

SimpleDateFormat class is not thread safe. If the ojbect declare as
static, it will cause thread safe problem.

Leon Liu

Mime
View raw message