1.配置Hadoop

解压hadoop,配置hadoop的环境变量:

HADOOP_HOME:

path:

MapReduce部分:eclipse开发MapReduce的部署

HADOOP_USER_NAME:root

2.配置eclipse

添加plugin文件包,放在eclipse下的mar下的plugin下;

添加之后会显示:

MapReduce部分:eclipse开发MapReduce的部署

将bin文件夹下的文件拷贝到hadoop下的bin下;

将扩展名为dull的文件拷贝在:C:\Windows\System32下;

重启eclipse:

添加MapReduce的路径:

添加MapReduce的视图

MapReduce部分:eclipse开发MapReduce的部署

配置library name

Windows---------------------》preference-----------------------------》hadoop/MapReduce----------------》添加MapReduce的路径

MapReduce部分:eclipse开发MapReduce的部署

 添加lib下的jar包

addexternaljar:选择路径,打开添加即可。

加载文件:

MapReduce部分:eclipse开发MapReduce的部署

MapReduce部分:eclipse开发MapReduce的部署

相关文章:

  • 2022-12-23
  • 2021-12-19
  • 2021-09-09
  • 2021-05-15
  • 2021-09-22
  • 2021-07-07
  • 2022-01-18
  • 2022-02-20
猜你喜欢
  • 2021-05-18
  • 2022-12-23
  • 2021-07-01
  • 2022-12-23
  • 2021-08-01
  • 2022-12-23
  • 2021-10-27
相关资源
相似解决方案