Пример #1
0
 @Override
 public String toString() {
   return "dagId="
       + dagID
       + ", startTime="
       + startTime
       + ", finishTime="
       + finishTime
       + ", timeTaken="
       + (finishTime - startTime)
       + ", status="
       + state.name()
       + ", diagnostics="
       + diagnostics
       + ", counters="
       + ((tezCounters == null)
           ? "null"
           : (tezCounters.toString().replaceAll("\\n", ", ").replaceAll("\\s+", " ")));
 }
Пример #2
0
 @Override
 public String toString() {
   return "vertexName="
       + vertexName
       + ", taskId="
       + taskID
       + ", startTime="
       + startTime
       + ", finishTime="
       + finishTime
       + ", timeTaken="
       + (finishTime - startTime)
       + ", status="
       + state.name()
       + ", successfulAttemptID="
       + (successfulAttemptID == null ? "null" : successfulAttemptID.toString())
       + ", diagnostics="
       + diagnostics
       + ", counters="
       + (tezCounters == null
           ? "null"
           : tezCounters.toString().replaceAll("\\n", ", ").replaceAll("\\s+", " "));
 }