Package org.discoproject

Examples of org.discoproject.DiscoMapFunction


    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

Related Classes of org.discoproject.DiscoMapFunction

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.