hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsh J (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8024) Debugging Hadoop daemons in Eclipse / Netbeans debugger
Date Mon, 06 Feb 2012 04:59:59 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-8024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13201035#comment-13201035

Harsh J commented on HADOOP-8024:


Yes, getting daemons to run inside of an IDE is a matter of having the env. properly set.

Will you be filing a doc patch or contributing a wiki page dedicated to this?

IIRC you could also do this via 'Run Configuration' integration (We had that for 0.21/0.22
I think?), or other better techniques, so that the dev does not have to set the runners up
> Debugging Hadoop daemons in Eclipse / Netbeans debugger
> -------------------------------------------------------
>                 Key: HADOOP-8024
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8024
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions:
>         Environment: Windows/Linux; Eclipse and Netbeans
>            Reporter: Ambud Sharma
>            Priority: Minor
>              Labels: documentation
>   Original Estimate: 0h
>  Remaining Estimate: 0h
> To debug Hadoop daemons for prototyping; I discovered the use of Eclipse and Netbeans
for the purpose.
> To perform this import the source code of Hadoop as a Java Project (you will have to
do some refactoring to make sure the imports and packages are correct)
> instead of an ant project or importing an existing project.
> Please make sure the apache-commons libraries are in classpath and you should now be
able to launch the particular daemon from their respective packages inside the debugger.
> I find it particularly useful to use the eclipse and netbeans standard debugger to perform
any code increments as its fairly simple to perform stacktrace and point to the exact code

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message