MapReduce如何開啓壓縮算法對結果進行壓縮

注:本文使用snappy算法進行壓縮 內容在驅動類裏面修改 方式一:在代碼中進行設置壓縮 設置map階段的壓縮 Configuration configuration = new Configuration(); configuration.set(「mapreduce.map.output.compress」,「true」); configuration.set(「mapreduce.map.o
相關文章
相關標籤/搜索