hadoop-common-dev mailing list archives

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


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