コード例 #1
0
ファイル: DAGFinishedEvent.java プロジェクト: hiteshs/tez
 @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+", " "));
 }