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

This commit is contained in:
Allen Wittenauer 2015-02-11 07:49:05 -08:00
parent cfd8a2174a
commit b015fec601
2 changed files with 4 additions and 1 deletions

View File

@ -382,6 +382,9 @@ Trunk (Unreleased)
HADOOP-11559. Add links to RackAwareness and InterfaceClassification
to site index (Masatake Iwasaki via aw)
HADOOP-11581. Multithreaded correctness Warnings
#org.apache.hadoop.fs.shell.Ls (Brahma Reddy Battula via aw)
OPTIMIZATIONS
HADOOP-7761. Improve the performance of raw comparisons. (todd)

View File

@ -84,7 +84,7 @@ class Ls extends FsCommand {
" 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;