This is for Hadoop eco system like HDFS, Map reduce, Hive, Hbase, Pig, sqoop,sqoop2, Avro, solr, hcatalog, impala, Oozie, Zoo Keeper and Hadoop distribution like Cloudera, Hortonwork etc.
2 posts • Page 1 of 1
Are setNumMapTasks(int) & setNumReduceTasks(int) methods supported in Mapreduce JAVA API?
setNumMapTasks(int) method is not supported In hadoop Mapreduce.
When you try to add job.setNumMapTasks(int) to job config, you will get a compile error stating, “setNumMapTasks(int) is undefined for the job type”.
but you can add the reducer equivalent, 'job.setNumReduceTasks(int)' In hadoop Mapreduce.
Users browsing this forum: No registered users and 3 guests