How to build Hadoop Program by Ant
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!