hadoop中OutputFormat 接口的設計與實現

OutputFormat 主要用於描述輸出數據的格式,它能夠將用戶提供的 key/value 對寫入特定格式的文件中。 本文將介紹 Hadoop 如何設計 OutputFormat 接口 , 以及一些常用的OutputFormat 實現。 1.舊版 API 的 OutputFormat 解析 如圖所示, 在舊版 API 中,OutputFormat 是一個接口,它包含兩個方法: RecordWri
相關文章
相關標籤/搜索