@Test
public void testgetHistoryDetialStage() throws Exception{

	VarOneConfiguration conf = VarOneConfiguration.create();
	VarOneEnv env = new VarOneEnv(conf);
	Configuration config = env.loadHadoopConfiguration();
	
	
	UIDataAggregator aggregator = new UIDataAggregator();
	EventLogHdfsReaderImpl hdfsReader = new EventLogHdfsReaderImpl(config, env.getEventLogDir());
	SparkEventLogBean sparkEventLog = hdfsReader.getHistoryStageDetails("application_1449569227858_0664");
	
	HistoryDetailStageVO historyDetailsVO = aggregator.aggregateHistoryDetialStage(sparkEventLog, 1);
	List<TasksVO> taskVOList = historyDetailsVO.getTasks();
	
	/*for(TasksVO taskVO : taskVOList){
		System.out.println(taskVO.getIndex() + "   " + taskVO.getGcTime());
	}*/
	
}