Package org.discoproject

Examples of org.discoproject.DiscoMapFunction.map()


    try {
      discoWorker.requestTask();

      if (discoWorker.hasMapTask()) {
        final DiscoMapFunction mapFunction = DiscoWorkerMain.<DiscoMapFunction> instantiateFunction(functionName);
        final List<File> outputFiles = mapFunction.map(discoWorker.getMapInput(), discoWorker.getJobName(),
                discoWorker.getWorkingDir(), slicedArgs);
        discoWorker.reportOutputs(outputFiles);
      }

      // TODO: reduce phase is not supported because the dir:// URL scheme is unsupported in the input fetcher.
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.