Hadoop 2.2.0 Eclipse Plugin - java

I have installed hadoop-2.2.0 (single node cluser) and maven3.3.1 on my pc. I want to program MapReduce code in eclipse. So my questions are:
What is the relationship between mapreduce and maven?
How do I debug the code in 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. 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 ).
will save you some time to compile.
Hope it helps.

There is no direct relationship between maven and hadoop
Apache Maven is a software project management and comprehension tool. 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.
And using maven you can download dependencies to develop hadoop/mapreduce project
http://mvnrepository.com/artifact/org.apache.hadoop/
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.
http://vichargrave.com/intellij-project-for-building-hadoop-the-definitive-guide-examples/

you can download and compile the eclipse plugin for hadoop 2.2.0 from github at https://github.com/winghc/hadoop2x-eclipse-plugin

Related

Eclipse build errors when using Gradle or Maven?

When using a build manager like Gradle or Maven, my dependencies are being managed correctly, however the Eclipse IDE is unaware of the resolved dependencies so it will still show errors and I cannot build through Eclipse, I have to run a 'build' command through the build manager.
How do you get Eclipse to be aware of the resolved dependencies taken care of by a build manager and running the app through the IDE?
You can generate Eclipse metadata using eclipse plugin distribute with Gradle - http://www.gradle.org/docs/current/userguide/eclipse_plugin.html - this will set up the project with its classpath.
Or install Gradle plugin for Eclipse developed by Pivotal folks.
The question is vague. Using m2e or Gradle plugin for Eclipse developed by Pivotal can lead you to different errors. You should ask exact question, sharing error that you got here on stackoverflow.

Problems integrating Maven with Eclipse Kepler

I am totally new to working with Maven in Eclipse. I am using the latest verion of Eclipse (Kepler). According other posts, as well as Eclipse's help page http://help.eclipse.org/kepler/index.jsp?topic=//org.eclipse.platform.doc.user/tasks/tasks-127.htm , I am supposed to try to install new software within Eclipse IDE.
However, when I try to Add Eclipse's recommended m2e release, Eclipse gives me an error:
Unable to read repository at http://download.eclipse.org/technology/m2e/releases.
download.eclipse[...]releases is not a valid repository location.
Essentially I run into the same problem no matter which approach I take outlined on the Eclipse help page. Is there some other/better way to integrate Maven with Eclipse? Are there steps I should have taken before this? All I have done so far is install Eclipse. How can I successfully get Maven running?
EDIT: Now I am using Java EE and still run into problems when making a Maven project. I get a "Could not resolve archetype error" could this be because I'm behind a proxy?
Most convenient option:
The reason you're getting that error is because that repo is deprecated, and it has been moved. Example of how the new repo looks:
http://download.eclipse.org/technology/m2e/releases/1.0/1.0.0.20110607-2117
Copy that in the Install New Software view, and you will see that it works.
Other options:
Install the Maven Integration from Eclipse Marketplace (Help -> Eclipse Marketplace)
Download the EE version of Kepler (comes with m2e)
Choose your own release (bottom of the page) and use the Install New Software view.
I had the same issue here and the above answer didnt work for me. Although Maven is installed I cane update my dependencies on my folder the way I used to be able to do on Juno. What I did was used the pom.xml from my current project and pasted it into the pom of my new project I created specifically in Eclipse using new project->Maven.
This was eclipse knows its a Maven project and allows my all the benefits of being one.
To install maven properly for eclipse you should set the correct repos as follow:
Help=>install=>
then work with
http://download.eclipse.org/releases/
example of eclipse version : mars or kepler ..

IntelliJ Plugin Dev - Cannot prepare plugin for deployment

I am trying to download the source of an IntelliJ IDEA Plugin (for JBehave integration) from a github repo, and basically build it into a jar, which I can distribute to my team (which they can then drop into their plugin directory for installation).
What I have done so far:
configured the IDEA SDK (I downloaded the source for latest version of the community edition and built it)
Downloaded the source from the repo via zip, as well as git clone
Created the project from scratch, as well as trying to "Import"
Ran mvn install in the command line, ran "Make Project"
Then I looked for the command (according to this tutorial) to
Build | Prepare Plugin Module for Deployment.
As you can see, the command is not there.
What am I doing wrong? I have tried fiddling with the project/module settings ad nauseum and I feel like I'm getting nowhere.
It seems like I was using an outdated version of IntelliJ (10.5). I ran IntelliJ Idea 12, and I created the project IntelliJ Platform Plugin (as #CrazyCoder suggested). From there I was able to build it.

How do I migrate an Eclipse GAE project to Maven such that it won't be tied to Eclipse?

I have an open source Eclipse Google App Engine project (it's called LastCalc and it's open source, you can find it here, created using the GAE Eclipse plugin.
The problem is that several months ago I switched IDEs to IntelliJ IDEA. Since most of my projects were Maven-based this wasn't an issue, but LastCalc was stubbornly tied to Eclipse.
I'm hoping that someone can suggest an easy way to migrate this project to Maven such that it will work nicely in both IDEA and Eclipse.
We released the app engine maven plugin and a gustbook sample with that plugin. I don't think the manual migration is very difficult. You can create a directory structure similar to our guestbook sample and copy your source and resource files. Dependency might be a bit cumbersome, so maybe you can try the 'Convert to Maven Project' functionality of the newer version of m2eclipse.

Unable to install Google App Engine Plugin (Eclipse 3.6)

I've followed these instructions but I'm unable to install the GAE plugin on Eclipse 3.6 Helios.
Any ideas what could be wrong and how to fix it?
This is a clean install of Eclipse, the only added features are the Eclipse Web Developer Tools per instructions.
This is on Windows XP.
Don't make it more complex than needed. Use the PlugIn: GAE Plugin Instructions
I fixed it by installing Eclipse for Java EE Developers
The version for different types of eclipse is different for Google App Engine Plugin. Try to use different version of plugin as required by your eclipse . I Have used http://dl.google.com/eclipse/plugin/3.4 for my Hellios Version eclipse and it is working file after installation . Do not forgot to researt your eclipse in clean mode after installation of plugin.

Categories

Resources