You can suppress the key or the value (or both, making this output format equivalent
to NullOutputFormat, which emits nothing) from the output using a NullWritable type.
This also causes no separator to be written, which makes the output suitable for reading
in using TextInputFormat.
hadoop mapreduce 输出不带行号(用于预处理)
最新推荐文章于 2025-10-30 21:52:37 发布
本文介绍了如何使用NullWritable类型从输出中抑制键或值(或两者),这导致没有分隔符被写入,使输出适合使用TextInputFormat进行读取。此方法允许在Hadoop MapReduce任务中灵活控制输出格式。
931

被折叠的 条评论
为什么被折叠?



