hadoop本地開發環境搭建
阿新 • • 發佈:2018-12-04
1:下載hadoop2.7.3並解壓
2:配置hadoop2.7.3環境變數
HADOOP_HOME
%HADOOP_HOME%\bin
3:下載hadoop-eclipse-plugin外掛
網址:https://github.com/winghc/hadoop2x-eclipse-plugin
4:新增hadoop.dll和winutils.exe到hadoop解壓目錄的bin目錄下面
hadoop.dll和winutils.exe 在hadoop-eclipse-plugin目錄裡面
5:將hadoop-eclipse-plugin-2.7.3.jar拷貝到eclipse的plugin目錄中
6:在eclipse裡面配置hadoop的安裝目錄
7:配置eclipse的DFS location
window--->> preferences--->> hadoop Map/Reduce
8:配置hadoop叢集的資訊
hdfs-site.xml
<property>
<name>dfs.permissions.enabled</name>
<value>false</value>
</property>
1:所需工具
1)hadoop2.7.3安裝包
2)hadoop-eclipse-plugin外掛
https://github.com/winghc/hadoop2x-eclipse-plugin