简体   繁体   English

Hadoop 2.2.0 Eclipse插件

[英]Hadoop 2.2.0 Eclipse Plugin

I have installed hadoop-2.2.0 (single node cluser) and maven3.3.1 on my pc. 我已经在我的PC上安装了hadoop-2.2.0(单节点cluser)和maven3.3.1。 I want to program MapReduce code in eclipse. 我想在Eclipse中编写MapReduce代码。 So my questions are: 所以我的问题是:

  1. What is the relationship between mapreduce and maven? mapreduce和maven有什么关系?
  2. How do I debug the code in eclipse? 如何调试eclipse中的代码? A tutorial says that I should first install a hadoop eclipse plugin in an old version, but it seems there isn't a plugin for the new version hadoop-2.2.0. 一个教程说,我应该首先在旧版本中安装hadoop eclipse插件,但是似乎没有针对新版本hadoop-2.2.0的插件。 How can I solve this? 我该如何解决?

I have compiled the eclipse plugin from https://github.com/winghc/hadoop2x-eclipse-plugin and uploaded the final jar file on github ( https://github.com/abhishekgoel137/hadoop-eclipse-plugins ). 我已经从https://github.com/winghc/hadoop2x-eclipse-plugin编译了eclipse插件,并将最终的jar文件上传到了github( https://github.com/abhishekgoel137/hadoop-eclipse-plugins )。

will save you some time to compile. 将节省您一些编译时间。

Hope it helps. 希望能帮助到你。

  1. There is no direct relationship between maven and hadoop Maven和hadoop之间没有直接关系

    Apache Maven is a software project management and comprehension tool. Apache Maven是一个软件项目管理和理解工具。 Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information. 基于项目对象模型(POM)的概念,Maven可以从中央信息管理项目的构建,报告和文档。

    And using maven you can download dependencies to develop hadoop/mapreduce project 使用Maven,您可以下载依赖项来开发hadoop / mapreduce项目

    http://mvnrepository.com/artifact/org.apache.hadoop/ http://mvnrepository.com/artifact/org.apache.hadoop/

  2. There is no eclipse plugin for 2.2.0, it's still in development stage but you can try IntelliJ IDEA, which is also a nice development tool for java. 2.2.0没有eclipse插件,它仍处于开发阶段,但是您可以尝试IntelliJ IDEA,它也是Java的不错的开发工具。

    http://vichargrave.com/intellij-project-for-building-hadoop-the-definitive-guide-examples/ http://vichargrave.com/intellij-project-for-building-hadoop-the-definitive-guide-examples/

您可以从github上的https://github.com/winghc/hadoop2x-eclipse-plugin下载并编译hadoop 2.2.0的eclipse插件

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM