Fix Backlog Task TDI-26834 : provide rate of progress of the group

https://jira.talendforge.org/browse/TDI-26834
add new mrJobIDInGroup for GUI to display rate of progress

git-svn-id: http://talendforge.org/svn/tos/trunk@106030 f6f1c999-d317-4740-80b0-e6d1abc6f99e
This commit is contained in:
bchen
2013-07-31 08:13:55 +00:00
parent cdd280a723
commit b4e8321056
2 changed files with 31 additions and 10 deletions

View File

@@ -37,7 +37,7 @@ public class MRRunStat implements Runnable {
private int groupID;
private String masterCID;
private int mrJobID;
private float mapProgress;
@@ -62,21 +62,21 @@ public class MRRunStat implements Runnable {
}
/**
* Getter for masterCID.
* Getter for mrJobID.
*
* @return the masterCID
* @return the mrJobID
*/
public String getMasterCID() {
return this.masterCID;
public int getMRJobID() {
return this.mrJobID;
}
/**
* Sets the masterCID.
* Sets the mrJobID.
*
* @param masterCID the masterCID to set
* @param mrJobID the mrJobID to set
*/
public void setMasterCID(String masterCID) {
this.masterCID = masterCID;
public void setMRJobID(int mrJobID) {
this.mrJobID = mrJobID;
}
/**
@@ -121,7 +121,7 @@ public class MRRunStat implements Runnable {
* @return
*/
public String toStatFormat() {
return this.groupID + "|" + this.masterCID + "|" + this.mapProgress + "|" + this.reduceProgress;
return this.groupID + "|" + this.mrJobID + "|" + this.mapProgress + "|" + this.reduceProgress;
}
}