Spark建立WordCount並統計詞頻

(1)先準備一個名爲test.txt的文檔,該文檔內容以下:java Apple Apple Orange Banana Grape Grape mysql (2)上傳文檔sql 而後使用secureCRT上傳到Linux系統上。上傳完畢後,檢查文檔shell zhang@Desktop1:~$ ls | grep 'test.txt' test.txt express (3)查看內容apache
相關文章
相關標籤/搜索