Hadoop系列之四:MapReduce進階

1、mapper和reducer MapReduce對數據的處理分爲兩個階段:map階段和reduce階段,這兩個階段分別由用戶開發的map函數和reduce函數完成,在MapReduce運行環境中運行時,它們也分別被稱爲mapper和reducer。 鍵值對(key-value pair)是MapReduce的基礎數據結構,mapper和reducer讀入和輸出的數據均爲鍵值對。MapReduc
相關文章
相關標籤/搜索