String ugi = profile.getHadoopConf().get(
"hadoop.hadoop.job.ugi");
jobContext.getProperties().setProperty(
"preview.hadoop.job.ugi", ugi);
}
DataPreviewJob job = new DataPreviewJob(jobContext);
job.run();
String logContent = job.getJobContext().getJobHistory().getLog()
.getContent();
// log.error("---\n" + logContent + "============\n");
List<Tuple<Integer, List<String>>> datas = new ArrayList<Tuple<Integer, List<String>>>();
int count = 0;
// rcfile没有FieldDelim,读数据采用默认delim '\001'