use of org.apache.ignite.configuration.HadoopConfiguration in project ignite by apache.
the class HadoopAbstractSelfTest method hadoopConfiguration.
/**
* @param igniteInstanceName Ignite instance name.
* @return Hadoop configuration.
*/
public HadoopConfiguration hadoopConfiguration(String igniteInstanceName) {
HadoopConfiguration cfg = new HadoopConfiguration();
cfg.setMaxParallelTasks(3);
return cfg;
}
use of org.apache.ignite.configuration.HadoopConfiguration in project ignite by apache.
the class HadoopTeraSortTest method getConfiguration.
/** {@inheritDoc} */
@Override
protected IgniteConfiguration getConfiguration(String igniteInstanceName) throws Exception {
IgniteConfiguration igc = super.getConfiguration(igniteInstanceName);
HadoopConfiguration hc = createHadoopConfiguration();
igc.setHadoopConfiguration(hc);
return igc;
}
use of org.apache.ignite.configuration.HadoopConfiguration in project ignite by apache.
the class HadoopJobTrackerSelfTest method hadoopConfiguration.
/** {@inheritDoc} */
@Override
public HadoopConfiguration hadoopConfiguration(String igniteInstanceName) {
HadoopConfiguration cfg = super.hadoopConfiguration(igniteInstanceName);
cfg.setMapReducePlanner(new HadoopTestRoundRobinMrPlanner());
return cfg;
}
Aggregations