Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
2.6.0
-
None
-
None
-
Reviewed
Description
A typo in HistoryViewer makes some code useless and it causes counter limits are not reset correctly.
The typo is
Limits.reset(conf);
We should use jobConf instead of conf.
With the typo, the following code becomes useless:
final Path jobConfPath = new Path(jobFile.getParent(), jobDetails[0] + "_" + jobDetails[1] + "_" + jobDetails[2] + "_conf.xml"); final Configuration jobConf = new Configuration(conf); jobConf.addResource(fs.open(jobConfPath), jobConfPath.toString());
The code wants to load the configuration from the Job configuration file and reset the Limits based on the new configuration loaded from the Job configuration file. But with the typo, the Limits are reset with the old configuration.
So this typo is apparent.
Attachments
Attachments
Issue Links
- relates to
-
MAPREDUCE-5875 Make Counter limits consistent across JobClient, MRAppMaster, and YarnChild
- Closed