About the MapReduce project under Eclipse packaged into a jar package (including third-party jar packages)

Source: Internet
Author: User

This problem is also in the development project often encountered a problem, online provides a lot of methods, but I found that many do not apply, here are recommended two ways, a sure no problem, is more trouble, the other is suitable for Fatjar to package, but I did not succeed, The reason for estimating the Eclipse import plugin under Ubuntu may not be the same as under Windows

Way One:

Put all the third-party jar packages into the master node and the directory hadoop-share-hadoop-cmmon-lib from the node, restart the Hadoop cluster so that the third-party jar package starts up like a jar package in Hadoop, which I discovered through the boot log, The startup log can be viewed through the web:master:8088 Web site.

Way two: Through the third plugin Fatjar to package, but this way I am packaged under Ubuntu did not succeed, there is no so-called Export-other-fatjar option, have time to try to get this way

About the MapReduce project under Eclipse packaged into a jar package (including third-party jar packages)

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.