hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Devaraj K (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-4289) JobStatus.getReduceProgress() and JobStatus.getMapProgress() API's not giving any values
Date Fri, 08 Jun 2012 04:55:23 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-4289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13291548#comment-13291548

Devaraj K commented on MAPREDUCE-4289:

It is coming due to the hard-coded values in the below code,

public static JobStatus fromYarn(ApplicationReport application,
      String jobFile) {
    String trackingUrl = application.getTrackingUrl();
    trackingUrl = trackingUrl == null ? "" : trackingUrl;
    JobStatus jobStatus =
      new JobStatus(
          0.0f, 0.0f, 0.0f, 0.0f,
          application.getUser(), application.getName(),
          application.getQueue(), jobFile, trackingUrl, false
    jobStatus.setSchedulingInfo(trackingUrl); // Set AM tracking url


Here we don't have any provision to get the map and reduce progresses from RM. 

It doesn't look good to show these hard-coded values always to the user when they use JobClient.getAllJobs()

Any thoughts?
> JobStatus.getReduceProgress() and JobStatus.getMapProgress() API's not giving any values
> ----------------------------------------------------------------------------------------
>                 Key: MAPREDUCE-4289
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4289
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 2.0.0-alpha
>            Reporter: Nishan Shetty
> 1.Run a simple job
> 2.Invoke JobStatus.getReduceProgress() and JobStatus.getMapProgress() API's
> Observe that these API's are giving zeros instead of showing map/reduce progress

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message