public static String getJobDetailsHistoryLink ( JobTracker tracker , String jobId ) { RetireJobInfo info = tracker . retireJobs . get ( JobID . forName ( jobId ) ) ; String historyFileUrl = getHistoryFileUrl ( info ) ; String result = ( historyFileUrl == null ? "" : "jobdetailshistory.jsp?jobid=" + jobId + "&logFile=" + historyFileUrl ) ; return result ; }
Given jobId resolve the link to jobdetailshistory . jsp