public void addDiagnosticInfo ( TaskAttemptID taskId , String diagInfo ) { List < String > diagHistory = taskDiagnosticData . get ( taskId ) ; if ( diagHistory == null ) { diagHistory = new ArrayList < String > ( ) ; taskDiagnosticData . put ( taskId , diagHistory ) ; } diagHistory . add ( diagInfo ) ; }
Save diagnostic information for a given task .