Eclipse remote debugging Hadoop
Environment configuration
1. Hadoop cluster has been built and can be accessed normally. 2. Installation of remote host jdk and eclipse has been completed.
Eclipse remote debug Hadoop configuration
First of all, you need to have the corresponding plug-in for MapReduce. Put the corresponding plug-in into the plug-in directory of eclipse, and you can download the appropriate plug-in from the Internet. The blogger of this article is a plug-in (hadoop-eclipse-plugin-2.6.0) saved during the learning process.
Put the plug-in in the plug-in directory of eclipse, and the directory of this article is D:\ Program Files (x86)\ eclipse\ plugins.
Restart eclipse and click windows-- > perspective-- > open perspective-- > others
You can see MapReduce in the lower right corner.
Click the plus sign of the elephant to configure Hadoop
After the configuration is complete, you can see dfs location in the upper left corner and view the hdfs directory structure
Configuration complete