You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by Tim Broberg <Ti...@exar.com> on 2012/02/03 00:48:40 UTC

Getting started with Eclipse for Hadoop 1.0.0?

Any suggestions with getting started with eclipse debugging for 1.0.0?

I would like to be able to debug unit tests for my compression codec with some reasonable debugger, be it eclipse, netbeans, or even jdb.

Harsh recommended Eclipse, so I'm wading in...

When I run "ant eclipse" I get missing file errors. The docs on the wiki are about using mvn, which isn't supported in 1.x and they include a cryptic note that "this" doesn't work, whatever "this" is.

Many of the blog entries describing how to do this refer to the eclipse plugin page above, but the sections they refer to appear to have been deleted.

Eclipse isn't mentioned in The Book at all, and the 1.0.0 docs directory mentions it only in passing in the release notes and changes docs.

If I just try to create a project from build.xml, there appears to be a missing ivy classpath file.

What is the best way to get started debugging with Eclipse?

Thanks,
    - Tim.

________________________________
The information and any attached documents contained in this message
may be confidential and/or legally privileged. The message is
intended solely for the addressee(s). If you are not the intended
recipient, you are hereby notified that any use, dissemination, or
reproduction is strictly prohibited and may be unlawful. If you are
not the intended recipient, please contact the sender immediately by
return e-mail and destroy all copies of the original message.

RE: Getting started with Eclipse for Hadoop 1.0.0?

Posted by Tim Broberg <Ti...@exar.com>.
Thanks, Harsh, that helped.

________________________________________
From: Harsh J [harsh@cloudera.com]
Sent: Thursday, February 02, 2012 7:52 PM
To: common-dev@hadoop.apache.org
Subject: Re: Getting started with Eclipse for Hadoop 1.0.0?

Hi Tim,

Could you try using the branch-1 from the svn-repo/git-clone instead
of a release tarball which may not work in the case of 1.0?

Its a WIP but I also cover some branch building at
http://wiki.apache.org/hadoop/QwertyManiac/BuildingHadoopTrunk --
Perhaps it could come useful to you.

On Fri, Feb 3, 2012 at 5:18 AM, Tim Broberg <Ti...@exar.com> wrote:
> Any suggestions with getting started with eclipse debugging for 1.0.0?
>
> I would like to be able to debug unit tests for my compression codec with some reasonable debugger, be it eclipse, netbeans, or even jdb.
>
> Harsh recommended Eclipse, so I'm wading in...
>
> When I run "ant eclipse" I get missing file errors. The docs on the wiki are about using mvn, which isn't supported in 1.x and they include a cryptic note that "this" doesn't work, whatever "this" is.
>
> Many of the blog entries describing how to do this refer to the eclipse plugin page above, but the sections they refer to appear to have been deleted.
>
> Eclipse isn't mentioned in The Book at all, and the 1.0.0 docs directory mentions it only in passing in the release notes and changes docs.
>
> If I just try to create a project from build.xml, there appears to be a missing ivy classpath file.
>
> What is the best way to get started debugging with Eclipse?
>
> Thanks,
>    - Tim.
>
> ________________________________
> The information and any attached documents contained in this message
> may be confidential and/or legally privileged. The message is
> intended solely for the addressee(s). If you are not the intended
> recipient, you are hereby notified that any use, dissemination, or
> reproduction is strictly prohibited and may be unlawful. If you are
> not the intended recipient, please contact the sender immediately by
> return e-mail and destroy all copies of the original message.



--
Harsh J
Customer Ops. Engineer
Cloudera | http://tiny.cloudera.com/about

The information and any attached documents contained in this message
may be confidential and/or legally privileged.  The message is
intended solely for the addressee(s).  If you are not the intended
recipient, you are hereby notified that any use, dissemination, or
reproduction is strictly prohibited and may be unlawful.  If you are
not the intended recipient, please contact the sender immediately by
return e-mail and destroy all copies of the original message.

Re: Getting started with Eclipse for Hadoop 1.0.0?

Posted by Harsh J <ha...@cloudera.com>.
Hi Tim,

Could you try using the branch-1 from the svn-repo/git-clone instead
of a release tarball which may not work in the case of 1.0?

Its a WIP but I also cover some branch building at
http://wiki.apache.org/hadoop/QwertyManiac/BuildingHadoopTrunk --
Perhaps it could come useful to you.

On Fri, Feb 3, 2012 at 5:18 AM, Tim Broberg <Ti...@exar.com> wrote:
> Any suggestions with getting started with eclipse debugging for 1.0.0?
>
> I would like to be able to debug unit tests for my compression codec with some reasonable debugger, be it eclipse, netbeans, or even jdb.
>
> Harsh recommended Eclipse, so I'm wading in...
>
> When I run "ant eclipse" I get missing file errors. The docs on the wiki are about using mvn, which isn't supported in 1.x and they include a cryptic note that "this" doesn't work, whatever "this" is.
>
> Many of the blog entries describing how to do this refer to the eclipse plugin page above, but the sections they refer to appear to have been deleted.
>
> Eclipse isn't mentioned in The Book at all, and the 1.0.0 docs directory mentions it only in passing in the release notes and changes docs.
>
> If I just try to create a project from build.xml, there appears to be a missing ivy classpath file.
>
> What is the best way to get started debugging with Eclipse?
>
> Thanks,
>    - Tim.
>
> ________________________________
> The information and any attached documents contained in this message
> may be confidential and/or legally privileged. The message is
> intended solely for the addressee(s). If you are not the intended
> recipient, you are hereby notified that any use, dissemination, or
> reproduction is strictly prohibited and may be unlawful. If you are
> not the intended recipient, please contact the sender immediately by
> return e-mail and destroy all copies of the original message.



-- 
Harsh J
Customer Ops. Engineer
Cloudera | http://tiny.cloudera.com/about