MAPREDUCE-6542 deprecated StringUtils.getFormattedTimeWithDiff(DateFormat, long, long), so it should be removed later.
This method can be removed in branch-2 because StringUtils is not @Public.
HistoryViewer uses SimpleDateFormat, but SimpleDateFormat is not threadsafe
SUCCESS: Integrated in Hadoop-trunk-Commit #10060 (See https://builds.apache.org/job/Hadoop-trunk-Commit/10060/)
MAPREDUCE-6717. Remove deprecated StringUtils.getFormattedTimeWithDiff. (aajisaka: rev d1626a7b37472f8b76bfbd5ee484cefa7cba7d3d)
Committed this to trunk and branch-2. Thanks Shen Yinjie for the contribution.
+1, checking this in.
This message was automatically generated.
LGTM. Renamed the patch to run precommit job in branch-2. Let's see what happens.
Hi,Akira Ajisaka,would you take a look at this patch?
changes in trunk