Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8479267
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T18:58:34+00:00 2026-06-10T18:58:34+00:00

I have no problems with Eclipse’s remote debugging when running hadoop in standalone mode.

  • 0

I have no problems with Eclipse’s remote debugging when running hadoop in standalone mode. However, it does not work when I’m running hadoop in pseudo-distributed mode. Here’s how I attempt eclipse remote debugging with hadoop in pseudo-distributed mode :

I add a line to my hadoop script like so :

#added this line to enable remote debugging
HADOOP_OPTS="$HADOOP_OPTS -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5000"

# run it
exec "$JAVA" $JAVA_HEAP_MAX $HADOOP_OPTS -classpath "$CLASSPATH" $CLASS "$@"

And then I create a remote debugging configuration like so :

creating a remote debugging configuration

I run the job from the command line, and it says what it should :

Listening for transport dt_socket at address: 5000

I then go back to eclipse and run the debug configuration. It steps into my main() function like it should :

enter image description here

However, it doesn’t hit any of the breakpoints I set in my mapper or reducer.

What’s the problem here? How come it worked with hadoop in standalone mode but not pseudo-distributed mode? Is it possible to do remote debugging with hadoop in pseudo-distributed mode? If not, what’s the “right” way to debug my mapreduce code in Eclipse?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T18:58:35+00:00Added an answer on June 10, 2026 at 6:58 pm

    See Lorand’s comment above. Remote debugging will only work in standalone mode.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple Scala project that runs without any problems inside Eclipse, however,
I have problems with (x)debugging on Eclipse PHP (Helios). It worked fine before my
I have a following problems with eclipse, when I installed ClearCase plugin from this
Hallo. I have problems by setting the Eclipse envirorment, can anybody provide me a
Our current product is based on Eclipse RCP. We are starting to have problems
I have some problems with Eclipse, I have structure struct Account{ const char* strLastName;
i have problems simulating call or sms since telnet or ddms perspective on eclipse.
I've been having problems running eclipse. This is the exception that was thrown after
I have some problems with Eclipse server adapter for Glassfish 3.1. I am using
I have problems again with my Mac running Java 1.5.... where do I get

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.