Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.18.0
-
None
-
None
-
Incompatible change, Reviewed
-
Description
I think that it is silly to have tools parsing the strings that the framework builds for task ids. I propose:
class JobId implements Writable {
public int getJobId()
}
class TaskId implements Writable {
public JobId getJobId();
public boolean isMap()
public int getTaskId() { ... }
}
class TaskAttemptId implements Writable {
public TaskId getTaskId();
public int getAttemptId();
}
each of the classes will have a toString() method that generates the current string.