Revert "MAPREDUCE-6286. A typo in HistoryViewer makes some code useless, which causes counter limits are not reset correctly. Contributed by Zhihai Xu."
This reverts commit 433542904a
.
This commit is contained in:
parent
746189ad8c
commit
e15f928295
@ -94,7 +94,7 @@ public HistoryViewer(String historyFile, Configuration conf, boolean printAll,
|
||||
final Configuration jobConf = new Configuration(conf);
|
||||
try {
|
||||
jobConf.addResource(fs.open(jobConfPath), jobConfPath.toString());
|
||||
Limits.reset(jobConf);
|
||||
Limits.reset(conf);
|
||||
} catch (FileNotFoundException fnf) {
|
||||
if (LOG.isWarnEnabled()) {
|
||||
LOG.warn("Missing job conf in history", fnf);
|
||||
|
Loading…
Reference in New Issue
Block a user