以下 3 个设置减少数量的选项的优先级是什么?换句话说,如果三个都设置了,会考虑哪一个?
选项1:
setNumReduceTasks(2) within the application code
选项2:
-D mapreduce.job.reduces=2 as command line argument
选项3:
through $HADOOP_CONF_DIR/mapred-site.xml file
<property>
<name>mapreduce.job.reduces</name>
<value>2</value>
</property>