First, unzip the Hadoop src package to workspace Directory II, file->import->existing Maven Projects, select the extracted directory at root directory, finish three, Wait for maven to download the dependency package, there will be some problems, the following is the play. Iv. maven Problem Resolution (1) if you find that the Maven dependency package is missing, locate the location and delete the jar package directory, then right-click the project, Alt+f5, and the confirmation will be downloaded automatically. Do not download third party packages manually, may not be recognized (2) Maven-resources-plugin prior to 2.4 are not supported by M2e,windiow > Preferences > Maven > Errors/warnings > Plugin executiuon not covered by lifecycle configuration. Select Ignore. Or quick fix, Mark goal as ignored in eclipse build in Eclipse preferences simple and effective, is my consistent role, like to see the long-winded can go out to the right.
Eclipse Hadoop Source Reading environment