Package com.taobao.zeus.jobs.sub.tool

Examples of com.taobao.zeus.jobs.sub.tool.DataPreviewJob


        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'
View Full Code Here

TOP

Related Classes of com.taobao.zeus.jobs.sub.tool.DataPreviewJob

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.