Dear Wiki user, You have subscribed to a wiki page or wiki category on "Hama Wiki" for change notification.
The "TaskInProgress" page has been changed by ChiaHungLin: https://wiki.apache.org/hama/TaskInProgress?action=diff&rev1=1&rev2=2 --(static final int MAX_TASK_EXECS = 1;// defined in JobInProgress.)-- <<BR>> --(int maxTaskAttempts = 4;// defined in JobInProgress)-- <<BR>> - --(AtomicBoolean failed = new AtomicBoolean(false); )--<<BR>> + Boolean failed = false; <<BR>> int NUM_ATTEMPTS_PER_RESTART = 1000; <<BR>> - private String jobFile = null; <<BR>> + --(String jobFile = null;// defined in JobInProgress.)-- <<BR>> - private int partition; <<BR>> + int partition; <<BR>> - private TaskID id; <<BR>> + TaskID id; <<BR>> - private JobInProgress job; <<BR>> - private int completes = 0; <<BR>> + --(JobInProgress job;// TaskInProgress is contained within JobInProgress.)-- <<BR>> + int completes = 0;// change to Boolean. so it also indicates if this task successes. <<BR>> - private GroomServerStatus myGroomStatus = null; <<BR>> + --(GroomServerStatus myGroomStatus;)-- <<BR>> + String groom; // to which groom this task belongs. <<BR>> - private long startTime = 0; <<BR>> + long startTime = -1; <<BR>> private int successEventNumber = -1; <<BR>> // The 'next' usable taskid of this tip
