获取配置信息
Configuration conf = job.getConfiguration();
设置最大的切割尺寸
conf.setLong(FileInputFormat.SPILT_MAXSIZE, 1024*15) ->15k的意思
获取配置信息
Configuration conf = job.getConfiguration();
设置最大的切割尺寸
conf.setLong(FileInputFormat.SPILT_MAXSIZE, 1024*15) ->15k的意思
本文标题:在hadoop的main类中设置最大切割尺寸
本文链接:https://www.haomeiwen.com/subject/rxojjxtx.html
网友评论