Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to build Hadoop Program by Ant

Shulou Source: shulou.com Published: 2022-05-31 21:07:25 09月22日 Update

This article is about how Ant builds Hadoop programs. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

1. Environment description

Hadoop environment: VirtualBox5 (three), CentOS7,Hadoop2.7.1

Development environment: Windows7

2. Detailed configuration 2.1.Overview of project structure

2.2 、 Build.xml Build wukong-practice-hadoop2.... Hadoop-path: ${hadoop.path} 2.3 、 Build.propertiesversion=0.1.0compile.encoding=UTF-8hadoop.dir=D:/Lab/lib/hadoop/hadoop-2.7.1hadoop.dir.linux=/user/wukong/local/hadoop-2.7.12.4, take a look at the generated MANIFEST.MF

3. Run the example

Thank you for reading! This is the end of this article on "how to build Hadoop programs in Ant". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Tags: Environment program content more articles good practical at a glance articles look knowledge examples structure three sets reference help development related generate run Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology OPPO Reno Docker Redmi Microsoft