In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
Editor to share with you how to compile hadoop2.x 's eclipse plug-in, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
Note: the following operations are based on Hadoop-2.4.1,Eclipse Luna,Win7 64-bit
1. Download the plug-in source package
Https://github.com/winghc/hadoop2x-eclipse-plugin
2. Create a new eclipse java project and copy the contents of the following directories in the package to project (just put it in eclipse and do not use eclipse to compile)
Hadoop2x-eclipse-plugin-master.zip\ hadoop2x-eclipse-plugin-master\ src\ contrib\ eclipse-plugin
3. Modify the build.xml as follows
5. Run AS Ant Build on the build.xml file
Buildfile: d:\ Lab\ ws-hadoop-2\ hadoop2x-eclipse-plugin\ build.xmlinit: [echo] contrib: eclipse-plugincompile: [echo] contrib: eclipse-plugin [javac] Compiling 45 source files to D:\ Lab\ ws-hadoop-2\ hadoop2x-eclipse-plugin\ build\ contrib\ eclipse-plugin\ classes [javac] Note: some input files use or overwrite obsolete API. [javac] Note: for more information, use-Xlint:deprecation to recompile. [javac] Note: some input files use unchecked or unsafe operations. [javac] Note: for more information, use-Xlint:unchecked to recompile. Jar: [jar] Building jar: d:\ Lab\ ws-hadoop-2\ hadoop2x-eclipse-plugin\ build\ contrib\ eclipse-plugin\ hadoop-2.4.1-eclipse-4.4-plugin.jarBUILD SUCCESSFULTotal time: 28 seconds
6. Go here to find the compiled jar
The above is all the contents of the article "how to compile the eclipse plug-in for hadoop2.x". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
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: 261
*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.