Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
KeyValueTextInputFormat对应的OutputFormat类是什么?我想在输出中的键和值之间放置一些分隔符。
TextOutputFormat 会写出<Text, Text>对。
<Text, Text>
mapred.textoutputformat.separator您可以通过设置属性来定义分隔符(默认为制表符) 。请注意此属性已更改为mapreduce.output.textoutputformat.separator2.0.0+ hadoopd
mapred.textoutputformat.separator
mapreduce.output.textoutputformat.separator