@SuppressWarnings( "deprecation" ) @Override public Class<?> getPentahoMapReduceMapRunnerClass() { return delegate.getPentahoMapReduceMapRunnerClass(); } }
@Override protected void configure( Configuration conf ) throws Exception { callVisitors(); setMapRunnerClass( hadoopShim.getPentahoMapReduceMapRunnerClass().getCanonicalName() ); conf.set( TRANSFORMATION_MAP_XML, mapperTransformationXml ); conf.set( TRANSFORMATION_MAP_INPUT_STEPNAME, mapperInputStep ); conf.set( TRANSFORMATION_MAP_OUTPUT_STEPNAME, mapperOutputStep ); if ( combinerTransformationXml != null ) { conf.set( TRANSFORMATION_COMBINER_XML, combinerTransformationXml ); conf.set( TRANSFORMATION_COMBINER_INPUT_STEPNAME, combinerInputStep ); conf.set( TRANSFORMATION_COMBINER_OUTPUT_STEPNAME, combinerOutputStep ); setCombinerClass( hadoopShim.getPentahoMapReduceCombinerClass().getCanonicalName() ); } if ( reducerTransformationXml != null ) { conf.set( TRANSFORMATION_REDUCE_XML, reducerTransformationXml ); conf.set( TRANSFORMATION_REDUCE_INPUT_STEPNAME, reducerInputStep ); conf.set( TRANSFORMATION_REDUCE_OUTPUT_STEPNAME, reducerOutputStep ); setReducerClass( hadoopShim.getPentahoMapReduceReducerClass().getCanonicalName() ); } conf.setJarByClass( hadoopShim.getPentahoMapReduceMapRunnerClass() ); conf.set( LOG_LEVEL, logLevel.toString() ); configureVariableSpace( conf ); super.configure( conf ); }