In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly explains "how to compile the hadoop eclipse plug-in". The content of the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to compile the hadoop eclipse plug-in".
The process is as follows:
1. Download hadoop 1.0.3 and unzip it in a custom directory (preferably in an all-English path, there is something wrong with the Chinese path).
2.Eclipse imports..\ hadoop-1.0.3\ src\ contrib\ eclipse-plugin project, and the default project is MapReduceTools.
3. Create a new lib directory in the project MapReduceTools and copy the hadoop-core of hadoop (obtained by renaming the hadoop-*.jar of the hadoop root directory), commons-cli-1.2.jar, commons-lang-2.4.jar, commons-configuration- 1.6.jar, jackson-mapper-asl-1.8.8.jar, jackson-core-asl-1.8.8.jar, commons- httpclient-3.0.1.jar to this directory.
4. Modify the build-contrib.xml in the parent directory:
Find and modify the location to the hadoop1.0.3 actual decompression directory, and add under it
5. Modify the build.xml under the project directory:
6. Right-click build.xml in eclipse and select run as-ant build.
If there is an error of "package org.apache.hadoop.fs does not exist", modify build.xml:
Add in:
7. When the Ant is compiled. The compiled file is hadoop-eclipse-plugin-1.0.3.jar in:\ build\ contrib.
8. Check whether the configuration properties under META-INF/MANIFEST.MF under the compiled jar package are complete, and if not, supplement them.
Bundle-ClassPath: classes/,lib/hadoop-core.jar,lib/commons-cli-1.2.jar
, lib/commons-lang-2.4.jar,lib/commons-configuration-1.6.jar,lib/jacks
On-mapper-asl-1.8.8.jar,lib/jackson-core-asl-1.8.8.jar,lib/commons-ht
Tpclient-3.0.1.jar
9. Put it under eclipse/plugins and restart eclipse to see if the installation is successful.
Thank you for your reading, the above is the content of "how to compile the hadoop eclipse plug-in", after the study of this article, I believe you have a deeper understanding of how to compile the hadoop eclipse plug-in, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.