Compile the hadoop Eclipse plug-in

Source: Internet
Author: User

The premise is that JDK has been installed and hadoop has been deployed. Hadoop installation directory is hadoop-1.0.3

1. If there is no ant in the system, install ant first. Yum install ant

2. Add :( location is the installation directory of eclipse in the hadoop-1.0.3 \ SRC \ contrib \ build-contrib.xml)

<Property name = "version" value = "1.0.3"/> <property name = "Eclipse. Home" location = "/home/user/Eclipse"/>

3. Run ant compile-logfile error. log under the hadoop-1.0.3 directory. It takes some time to compile hadoop. Please wait.

4. Execute ant compile-logfile error. Log in hadoop-1.0.3/src/contrib/eclipse-plugin

5. Copy the hadoop-core-1.0.3.jar to the build folder and execute ant jar under the hadoop-1.0.3/src/contrib/eclipse-plugin

6. In the hadop-1.0.3/build/contrib/eclipse-plugin folder, you can see the generated hadoop-eclipse-plugin-1.0.3.jar, copy the jar to the eclipse plugins folder.

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.