I'm using Hortonworks sandbox for Hadoop, But I am using Eclipse on Windows for the Java code. And hortonworks sandbox installed in Oracle virtual box. I created executable jar for that Java code and then run in hortons. How do I debug the Java code in eclipse?
Asked
Active
Viewed 348 times
1 Answers
0
One of the way debugging Hadoop in Eclipse is by running hadoop in local mode because map reduce task run in its own JVM.
Also explore MRUnit
and Jumbune's debugger
.
https://github.com/impetus-opensource/jumbune
The below blogposts may also help you.
http://let-them-c.blogspot.com/2011/07/running-hadoop-locally-on-eclipse.html
http://let-them-c.blogspot.com/2011/07/configurations-of-running-hadoop.html
Community
- 1
- 1
I Bajwa PHD
- 1,466
- 1
- 18
- 41