Eclipse Remote Debugging Hadoop source

Source: Internet
Author: User

1. Commissioning the Environment

1.1 Remote Linux runs the hadoop1.2 local Windows eclipse in source code 1.3 of native Windows Eclipse has Hadoop's own code 2 written. Step 2.1 Modify the hadoop-env.sh of the HADOOP program running on the remote Linux, comment out the 21st line, add a line of code export hadoop_namenode_opts= "-xdebug-xrunjdwp:transport= Dt_socket,address=9090,server=y,suspend=y "2.2 Imports the source code of Hadoop into the native Windows Eclipse, adds breakpoints on the corresponding Namenode class, and then runs using debug mode, The configuration is described in 2.3 using debug mode to run your own code in Eclipse, local windows.

Eclipse Remote Debugging Hadoop source

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.