View Hadoop source under Eclipse

Source: Internet
Author: User

1. Create a new Java project

2, the Hadoop source code extracted, and then to the SRC directory, src under the core, HDFs, mapred folder copied out

3. Paste the copied three folders into Java Project SRC4, the SRC removed, right-click Properties to find5. Add a Resource folder6. Join the dependent JAR package. Go to7. Find the disk where the Hadoop source is located, and import all the jar packages under Lib into the project, including Jsp-2. 1 of the folders under the8. Add Ant. Jar's jar Packagecomplete the import to see the source of Hadoop.

View Hadoop source under Eclipse

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.