Package com.twitter.ambrose.model

Examples of com.twitter.ambrose.model.Workflow


   * @param scriptId scriptId of the running script
   * @param numJobsSucceeded how many jobs have succeeded
   */
  @Override
  public void launchCompletedNotification(String scriptId, int numJobsSucceeded) {
    Workflow workflow = new Workflow(scriptId, workflowVersion, jobs);
    try {
      outputStatsData(workflow);
    } catch (IOException e) {
      log.error("Exception outputting workflow", e);
    }
View Full Code Here


    String queryId = AmbroseHiveUtil.getHiveQueryId(conf);
    if (workflowVersion == null) {
      LOG.warn("ScriptFingerprint not set for this script - not saving stats.");
    }
    else {
      Workflow workflow = new Workflow(queryId, workflowVersion, reporter.getJobs());
      outputStatsData(workflow);
      reporter.flushJsonToDisk();
    }
    displayStatistics();
View Full Code Here

TOP

Related Classes of com.twitter.ambrose.model.Workflow

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.