Package co.cask.cdap.internal.app.runtime.batch.distributed

Examples of co.cask.cdap.internal.app.runtime.batch.distributed.DistributedMapReduceContextBuilder


      if ("local".equals(mrFramework)) {
        contextBuilder = new InMemoryMapReduceContextBuilder(conf, taskContext);
      } else {
        // mrFramework = "yarn" or "classic"
        // if the jobContext is not a TaskAttemptContext, mrFramework should not be yarn.
        contextBuilder = new DistributedMapReduceContextBuilder(
          conf, HBaseConfiguration.create(taskContext.getConfiguration()), taskContext);
      }
    }
    return contextBuilder;
  }
View Full Code Here

TOP

Related Classes of co.cask.cdap.internal.app.runtime.batch.distributed.DistributedMapReduceContextBuilder

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.