List of usage examples for org.apache.hadoop.mapred ReduceTask getNumMaps
public int getNumMaps()
From source file:com.mellanox.hadoop.mapred.MapOutputLocation.java
License:Apache License
public void init(ReduceTask reduceTask, TaskUmbilicalProtocol umbilical, JobConf conf, Reporter reporter) throws IOException { try {//from w w w . j a va 2 s .c om LOG.info("init - Using UdaShuffleConsumerPlugin"); this.reduceTask = reduceTask; this.reduceId = reduceTask.getTaskID(); this.umbilical = umbilical; this.jobConf = conf; this.reporter = reporter; this.rdmaChannel = new UdaPluginRT<K, V>(this, reduceTask, jobConf, reporter, reduceTask.getNumMaps()); } catch (Throwable t) { doFallbackInit(t); } }