Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
2.5.1
-
None
-
None
Description
getHistoryUrl() method in Job class is returning empty string. Example code:
job = Job.getInstance(conf);
job.setJobName("MapReduceApp");
job.setJarByClass(MapReduceApp.class);
job.setMapperClass(Mapper1.class);
job.setCombinerClass(Reducer1.class);
job.setReducerClass(Reducer1.class);
job.setMapOutputKeyClass(Text.class);
job.setMapOutputValueClass(IntWritable.class);
job.setOutputKeyClass(Text.class);
job.setOutputValueClass(IntWritable.class);
job.setNumReduceTasks(1);
job.setOutputFormatClass(TextOutputFormat.class);
job.setInputFormatClass(TextInputFormat.class);
FileInputFormat.addInputPath(job, inputPath);
FileOutputFormat.setOutputPath(job, outputPath);
job.waitForCompletion(true);
job.getHistoryUrl();
It is always returning empty string. Looks like getHistoryUrl() support was removed in YARN-321.
getTrackingURL() returns correct url though.
Attachments
Issue Links
- is superceded by
-
MAPREDUCE-6640 mapred job -history command should be able to take Job ID
- Resolved