在main
job.setInt("mac.value", Integer.parseInt(args[2]));
map/reduce,一般在configure()
int aa = job.getInt("mac.value", 0); 0是返回默认值
或者:-D mac.value=5 mpinput mpoutput
在main
job.setInt("mac.value", Integer.parseInt(args[2]));
map/reduce,一般在configure()
int aa = job.getInt("mac.value", 0); 0是返回默认值
或者:-D mac.value=5 mpinput mpoutput