Search in sources :

Example 6 with HadoopConfiguration

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;
}
Also used : HadoopConfiguration(org.apache.ignite.configuration.HadoopConfiguration)

Example 7 with HadoopConfiguration

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;
}
Also used : IgniteConfiguration(org.apache.ignite.configuration.IgniteConfiguration) HadoopConfiguration(org.apache.ignite.configuration.HadoopConfiguration)

Example 8 with HadoopConfiguration

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;
}
Also used : HadoopTestRoundRobinMrPlanner(org.apache.ignite.hadoop.planner.HadoopTestRoundRobinMrPlanner) HadoopConfiguration(org.apache.ignite.configuration.HadoopConfiguration)

Aggregations

HadoopConfiguration (org.apache.ignite.configuration.HadoopConfiguration)8 IgniteConfiguration (org.apache.ignite.configuration.IgniteConfiguration)2 CacheConfiguration (org.apache.ignite.configuration.CacheConfiguration)1 FileSystemConfiguration (org.apache.ignite.configuration.FileSystemConfiguration)1 IgniteHadoopWeightedMapReducePlanner (org.apache.ignite.hadoop.mapreduce.IgniteHadoopWeightedMapReducePlanner)1 HadoopTestRoundRobinMrPlanner (org.apache.ignite.hadoop.planner.HadoopTestRoundRobinMrPlanner)1 IgfsGroupDataBlocksKeyMapper (org.apache.ignite.igfs.IgfsGroupDataBlocksKeyMapper)1 HadoopJobTracker (org.apache.ignite.internal.processors.hadoop.jobtracker.HadoopJobTracker)1 HadoopShuffle (org.apache.ignite.internal.processors.hadoop.shuffle.HadoopShuffle)1 HadoopEmbeddedTaskExecutor (org.apache.ignite.internal.processors.hadoop.taskexecutor.HadoopEmbeddedTaskExecutor)1 TcpDiscoverySpi (org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi)1 TcpDiscoveryVmIpFinder (org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder)1