Hi,

If all you want to do is to write programs that use your stable hadoop
libraries, have a look at the Hadoop Eclipse plugin that comes along
(inside contrib folders).

If you want your stable hadoop as a project inside your eclipse
itself, run `ant eclipse` in the hadoop's extracted directory (or was
it eclipse-files?) and then import the folder using the 'Existing
Projects into Workspace' import option.

Alternatively, for the former requirement, you may use KarmaSphere's
Hadoop eclipse plugin (the free Community Edition). It's a great tool
to use as well.

Both the Apache-suppled plugin and the KarmaSphere plugin allows you
to run your MR code instantly onto a supplied cluster. And then some.

P.s. You might need to patch the existing apache-supplied hadoop
eclipse plugin a bit to make it usable on the latest versions of
Eclipse. A shameless self-blog-reference follows:
http://www.harshj.com/2010/07/18/making-the-eclipse-plugin-work-for-hadoop/

On Wed, Aug 11, 2010 at 9:33 PM, Ahmad Shahzad <ashahz...@gmail.com> wrote:
> Hi Saikat,
>                Can you please provide more detail on how to do it. I tried
> creating a new java project, but i dont know how to associate hadoop source
> folders.
>
> Secondly, i tried creating eclipse project from existing an Ant buildfile
> and gives it hadoop build file that is in hadoop directory, but it asks me
> to select the javac decleration to use to define project and gives me a set
> of options such as :
> javac task found in target "compile-rcc-compiler "
> javac task found in target "compile-core-classes "
> javac task found in target "compile-mapred-classes "
> javac task found in target "compile-hdfs-classes "
> javac task found in target "compile-tools "
> javac task found in target "compile-examples "
> javac task found in target "compile-core-test "
> javac task found in target "compile-ant-tasks "
>
> i tried it with compile-rcc-compiler and compile-ant-tasks but it gives me
> the following error:
>
> problem setting classpath of the project from the javac classpath: Reference
> ivu-common.classpath not found.
>
> I will apprecite your reply.
>
> Ahmad
>



-- 
Harsh J
www.harshj.com

Reply via email to