org.apache.hadoop.vaidya.postexdiagnosis
Class PostExPerformanceDiagnoser
java.lang.Object
org.apache.hadoop.vaidya.JobDiagnoser
org.apache.hadoop.vaidya.postexdiagnosis.PostExPerformanceDiagnoser
public class PostExPerformanceDiagnoser
- extends JobDiagnoser
This class acts as a driver or rule engine for executing the post execution
performance diagnostics tests of a map/reduce job. It prints or saves the
diagnostic report as a xml document.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PostExPerformanceDiagnoser
public PostExPerformanceDiagnoser(String jobConfFile,
String jobHistoryFile,
InputStream testsConfFileIs,
String reportFile)
throws Exception
- Parameters:
jobConfFile
- - URL pointing to job configuration (job_conf.xml) filejobHistoryFile
- - URL pointing to job history log filetestsConfFileIs
- - file path for test configuration file (optional).
If not specified default path is:$HADOOP_HOME/contrib/vaidya/pxpd_tests_config.xmlreportFile
- - file path for storing report (optional)
- Throws:
Exception
getReportFile
public String getReportFile()
getJobHistoryFile
public String getJobHistoryFile()
getTestsConfFileIs
public InputStream getTestsConfFileIs()
setTestsConfFileIs
public void setTestsConfFileIs(InputStream testsConfFileIs)
getJobExecutionStatistics
public JobStatistics getJobExecutionStatistics()
- Returns:
- JobStatistics - Object storing the job configuration and execution
counters and statistics information
main
public static void main(String[] args)
- Parameters:
args
-
Copyright © 2009 The Apache Software Foundation