集成Map / Reducer和Java Project Eclipse

时间:2023-01-17 14:16:12

I have a Java Project & Map/Reducer Project in eclipse Workspace, I want to use a class file of Map/Reducer Project from java project to perform computation, I am new to Apache Hadoop & Map/Reducer thing, please Suggest.

我在eclipse Workspace中有一个Java Project&Map / Reducer项目,我想从java项目中使用Map / Reducer Project的类文件来执行计算,我是Apache Hadoop和Map / Reducer的新手,请建议。

1 个解决方案

#1


0  

If a hadoop project is just like a Java project (and it probably is); right click on the other project in the package explorer, select properties, and then choose java build path. After that, click on the projects tab and select the add button. A dialog box should come up, and you should be able to select your hadoop project.

如果一个hadoop项目就像一个Java项目(它可能是);右键单击包资源管理器中的其他项目,选择属性,然后选择java构建路径。之后,单击“项目”选项卡,然后选择“添加”按钮。应该出现一个对话框,您应该能够选择您的hadoop项目。

Both projects must be in the workspace, of course.

当然,这两个项目都必须在工作区中。

#1


0  

If a hadoop project is just like a Java project (and it probably is); right click on the other project in the package explorer, select properties, and then choose java build path. After that, click on the projects tab and select the add button. A dialog box should come up, and you should be able to select your hadoop project.

如果一个hadoop项目就像一个Java项目(它可能是);右键单击包资源管理器中的其他项目,选择属性,然后选择java构建路径。之后,单击“项目”选项卡,然后选择“添加”按钮。应该出现一个对话框,您应该能够选择您的hadoop项目。

Both projects must be in the workspace, of course.

当然,这两个项目都必须在工作区中。