MAPREDUCE-6286. A typo in HistoryViewer makes some code useless, which causes counter limits are not reset correctly. Contributed by Zhihai Xu.
This commit is contained in:
parent
e1e09052e8
commit
433542904a
|
@ -286,6 +286,10 @@ Release 2.8.0 - UNRELEASED
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
||||||
|
MAPREDUCE-6286. A typo in HistoryViewer makes some code useless, which
|
||||||
|
causes counter limits are not reset correctly.
|
||||||
|
(Zhihai Xu via harsh)
|
||||||
|
|
||||||
MAPREDUCE-6213. NullPointerException caused by job history server addr not
|
MAPREDUCE-6213. NullPointerException caused by job history server addr not
|
||||||
resolvable. (Peng Zhang via harsh)
|
resolvable. (Peng Zhang via harsh)
|
||||||
|
|
||||||
|
|
|
@ -93,7 +93,7 @@ public class HistoryViewer {
|
||||||
final Configuration jobConf = new Configuration(conf);
|
final Configuration jobConf = new Configuration(conf);
|
||||||
try {
|
try {
|
||||||
jobConf.addResource(fs.open(jobConfPath), jobConfPath.toString());
|
jobConf.addResource(fs.open(jobConfPath), jobConfPath.toString());
|
||||||
Limits.reset(conf);
|
Limits.reset(jobConf);
|
||||||
} catch (FileNotFoundException fnf) {
|
} catch (FileNotFoundException fnf) {
|
||||||
if (LOG.isWarnEnabled()) {
|
if (LOG.isWarnEnabled()) {
|
||||||
LOG.warn("Missing job conf in history", fnf);
|
LOG.warn("Missing job conf in history", fnf);
|
||||||
|
|
Loading…
Reference in New Issue