导入hadoop源码至Eclipse 发表于 2015-12-24 更新于 2024-07-03 分类于 分布式 从hadoop官网下载hadoop源码,解压后进入目录,阅读BUILDING.txt文件,文件中讲到了如何将hadoop源码工程文件导入到Eclipse中。首先需要给Eclipse安装hadoop-maven-plugins插件,进入hadoop-maven-plugins目录执行指令 123cd hadoop-maven-pliginsmvn installmvn eclipse:eclipse -DskipTests 最后,在Eclipse中点击[File] > [Import] > [Existing Projects into Workspace]