Example #1
0
  @Override
  public void cleanup(FlowProcess process, OperationCall<NullContext> operationCall) {
    LOGGER.info("Cleaning up FetchBuffer");

    terminate();

    _flowProcess.dumpCounters();
    super.cleanup(process, operationCall);
  }
  @Override
  public void cleanup(
      FlowProcess flowProcess, cascading.operation.OperationCall<NullContext> operationCall) {
    LOGGER.info("Cleaning up FilterAndScoreByUrlAndRobots");

    terminate();

    _flowProcess.dumpCounters();
    super.cleanup(flowProcess, operationCall);
  }