hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Kanter (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (YARN-2736) Job.getHistoryUrl returns empty string
Date Wed, 24 Feb 2016 01:44:18 GMT

     [ https://issues.apache.org/jira/browse/YARN-2736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Kanter resolved YARN-2736.
---------------------------------
    Resolution: Fixed

> Job.getHistoryUrl returns empty string
> --------------------------------------
>
>                 Key: YARN-2736
>                 URL: https://issues.apache.org/jira/browse/YARN-2736
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: api
>    Affects Versions: 2.5.1
>            Reporter: Kannan Rajah
>            Priority: Critical
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message