代码改变世界

Streaming InputFormat相关

2014-02-11 17:47  briller  阅读(252)  评论(0编辑  收藏  举报

Streaming 默认时是 org.apache.hadoop.mapred.TextInputFormat

当Streaming -inputformat 设置为 org.apache.hadoop.mapred.KeyValueTextInputFormat

会自动变成StreamInputFormat (which extends KeyValueTextInputFormat)