First, Introduction:
Recently in doing a city firm Project POC test it version, involving the compilation of LINUX64BTI source code and development plug-in use, as a note to share to everyone.
Second, the plug-in compilation
The HADOOP2X version of the Eclipse plugin has been individually extracted as a standalone open source project, which differs from the previous version of the model directly integrated into the hadoop1.x version, which needs to be downloaded separately to download the URL:
Https://github.com/winghc/hadoop2x-eclipse-plugin
2.1 Source Code Compilation
1 Hadoop2x-eclipse-plugin2 =======================3 4 Eclipse Plugin for Hadoop 2.2.05 6 7 How to build8 ----------------------------------------9 Ten $CD Src/contrib/eclipse-plugin One A $ant Jar-dversion=2.2.0-declipse.home=/opt/eclipse-dhadoop.home=/usr/share/hadoop - - final jar is genrated at directory the - $root/build/contrib/eclipse-plugin/hadoop-eclipse-plugin-2.2.0.jar - - Options Required + -------------------------------------- - Eclipse.home:path of Eclipse home + A Hadoop.home:path of Hadoop 2.x home at - - How to Debug - -------------------------------------- - start eclipse with debug parameter: - in/opt/eclipse/eclipse-clean-consolelog-debug
Plug-in source code to provide compilation instructions, only need to have their own actual situation, change Eclilpse.home and Hadoop.home configuration directory and install the necessary compilation environment.
2.2 Configuration Instructions
Copy the Build/contrib/eclipse-plugin/hadoop-eclipse-plugin-2.2.0.jar file to the Eclipse/plugins directory and start Eclipse to discover
Third, plug-in configuration
After you start the plugin, you need to configure the plug-in information according to Core-site.xml, as shown in the configuration parameters:
The content you need to configure is primarily an IP address and port, and a more detailed configuration can be configured according to your own configuration file.
Hadoop2.2.0 Eclipse Plugin Compilation and ecliipse configuration instructions (graphic version)