Package com.scaleunlimited.cascading.hadoop

Examples of com.scaleunlimited.cascading.hadoop.HadoopPlatform


        configureHadoopPlatform(applicationJarClass, conf);
    }
   
    private void configureHadoopPlatform(Class applicationJarClass, JobConf jobConf) throws Exception {
        _hadoopJobConf = jobConf;
        HadoopPlatform hp = new HadoopPlatform(applicationJarClass, _hadoopJobConf);
        _platform = hp;
       
        // Special configuration for Hadoop.
       
        if (isLocal()) {
            setNumReduceTasks(1);
            setJobPollingInterval(LOCAL_HADOOP_JOB_POLLING_INTERVAL);
        } else {
            setNumReduceTasks(BasePlatform.CLUSTER_REDUCER_COUNT);
        }
       
        hp.setMapSpeculativeExecution(false);
        hp.setReduceSpeculativeExecution(false);
    }
View Full Code Here

TOP

Related Classes of com.scaleunlimited.cascading.hadoop.HadoopPlatform

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.