解決spark運行中failed to locate the winutils binary in the hadoop binary path的問題


1.下載hadoop-common-2.2.0-bin並解壓到某個目錄

 https://github.com/srccodes/hadoop-common-2.2.0-bin

 

2.設置hadoop.home.dir

 

System.setProperty("hadoop.home.dir", "D:\\hadoop-common-2.2.0-bin-master")

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM