hadoop-common-issues mailing list archives

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

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

Ambud Sharma commented on HADOOP-8024:
--------------------------------------

Will get the wiki updated. Including the conf files in the classpath solves most of the problems
regarding env variables.
Could you please point me to the wiki where I can update this.
-Thanks!
                
> 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: 0.20.203.0
>         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
error.

--
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

        

Mime
View raw message