Well, I've failed and given up on building Hadoop in Eclipse. Too many things
go wrong with Maven plugins and m2e.
But Hadoop builds just fine using the command-line, and it runs using Sandy's
development-node instructions.
My strategy now is
1) Tell Eclipse about all of the Hadoop JARs
2
If your goal is to simply build an application, then you can use a
Maven project. Why do you require the whole of Hadoop's projects
itself on Eclipse when you can simply have the dependencies via a
maven pom.xml?
The following is what you can use in a simple maven app, to include
all necessary dep
-- Switch to building from SVN instead of a release snapshot, and apply patches.
Thanks again,
John
-Original Message-
From: Harsh J [mailto:ha...@cloudera.com]
Sent: Wednesday, June 05, 2013 11:43 AM
To:
Subject: Re: Hadoop JARs and Eclipse
If your goal is to simply build an applica
Hi John,
On Thu, Jun 6, 2013 at 1:21 AM, John Lilley wrote:
> -- From where will it fetch the Hadoop JARs?
>From the Maven Central repository (we publish our jars and
dependencies are also available there), or a custom defined repository
if you lack internet access.
> -- If I have built Hadoop
Harsh,
Thanks so much for your thorough explanation.
John
-Original Message-
From: Harsh J [mailto:ha...@cloudera.com]
Sent: Wednesday, June 05, 2013 8:18 PM
To:
Subject: Re: Hadoop JARs and Eclipse
Hi John,
On Thu, Jun 6, 2013 at 1:21 AM, John Lilley wrote:
> -- From where will
: Hadoop JARs and Eclipse
If your goal is to simply build an application, then you can use a Maven
project. Why do you require the whole of Hadoop's projects itself on Eclipse
when you can simply have the dependencies via a maven pom.xml?
The following is what you can use in a simple maven ap
: user@hadoop.apache.org
Subject: RE: Hadoop JARs and Eclipse
If I am running from built code that was installed with mvn install Do I need
to change the pom.xml file to reflect that I am using local repository?
Thanks,
John
-Original Message-
From: Harsh J [mailto:ha...@cloudera.com