Hadoop入門——MapReduce的輸入與輸出

一.MapReduce的輸入處理類 (1)FileInputFormat FileInputFormat是所有以文件作爲數據源的InputFormat實現的基類,FileInputFormat保存作爲job輸入的所有文件,並實現了對輸入文件計算splits的方法。至於獲得記錄的方法是有不同的子類——TextInputFormat進行實現的。 (2)InputFormat InputFormat 負
相關文章
相關標籤/搜索