HADOOP-11581. Multithreaded correctness Warnings #org.apache.hadoop.fs.shell.Ls (Brahma Reddy Battula via aw)

(cherry picked from commit b015fec601)

Conflicts:
	hadoop-common-project/hadoop-common/CHANGES.txt
This commit is contained in:
Allen Wittenauer 2015-02-11 07:49:05 -08:00 committed by Akira Ajisaka
parent 5bbf157cb2
commit 6c4aa89e56
2 changed files with 4 additions and 1 deletions

View File

@ -251,6 +251,9 @@ Release 2.8.0 - UNRELEASED
HADOOP-10582. Fix the test case for copying to non-existent dir in
TestFsShellCopy. (Kousuke Saruta via aajisaka)
HADOOP-11581. Multithreaded correctness Warnings
#org.apache.hadoop.fs.shell.Ls (Brahma Reddy Battula via aw)
Release 2.7.1 - UNRELEASED
INCOMPATIBLE CHANGES

View File

@ -87,7 +87,7 @@ public static void registerCommands(CommandFactory factory) {
" Use time of last access instead of modification for\n" +
" display and sorting.";
protected static final SimpleDateFormat dateFormat =
protected final SimpleDateFormat dateFormat =
new SimpleDateFormat("yyyy-MM-dd HH:mm");
protected int maxRepl = 3, maxLen = 10, maxOwner = 0, maxGroup = 0;