1、queue的设置
hadoop2.0支持了queue,在hadoop程序里面进行queue的配置:
job.getConfiguration().set("mapred.job.queue.name", "your-queue-name");
2、reduce key-value中间的分隔符。
首先得保证outputformart是Textoutputformat,默认的分割符是‘\t‘,用以下语句在程序中进行配置:
job.getConfiguration().set("mapred.textoutputformat.separator", "some-separator");
原文:http://www.cnblogs.com/fbiswt/p/3640868.html