Eclipse development HDFS large data Lesson -Windows

1, to prepare the required installation files

  a, Eclipse installation file: eclipse-mars. Link: https: //pan.baidu.com/s/1hL7bf1QG3WRvUyTUUrqWfA extraction code: bv7z

  b, hadoop source installation package: hadoop-2.9.2. Link: https: //pan.baidu.com/s/1UfVtYEcHbmVi8HJp7ySWQA extraction code: 6wjx

  c, bin modified file: bin link: https: //pan.baidu.com/s/1DIqTk8Jq4_aCyXoVuWIxYQ extraction code: l3f0

  d, eclipse plug jar package: Link: https: //pan.baidu.com/s/1ggrO4bNOKLV6tvuxJPQfpQ extraction code: df9c 

 

 

2, to find a good directory, create a hadoop-lib empty directory, the source installation package share directory in the directory hadoop jar all packets are copied to the hadoop-lib

                            

                       

 

 

   After about 241 copies jar package.

3, the download things bin directory to copy all hadoop-2.9.2 inside the bin directory.

                     

4, the bin following hadoop.dll files into C: \ Windows \ System32 below.

5, configure the environment variables

  Increased three: HADOOP_HOME: HADOOP_USER_HOME: PATH:

        

 

 

        

 

  Then restart the system

 

 6, open the eclipse, to download the plug-in jar package into the directory plugins eclipse. Then restart.

 7, open the eclipse

       

8, MapReduce elephant After the addition, switching to Mapreduce environment, the following will be Mapreduce Locations.

 

9、在空白的右键,然后new hadoop location 然后editor hadoop location ,配置如下,然后刷新一下左边的DFS locations。没有报错就是连接上了。  

 

 

 

 

 

 

 

 

 

 

 

Guess you like

Origin www.cnblogs.com/tyh666/p/11966634.html