In our Hadoop programming, we often encounter functions like looking at a function in a class in Hadoop. But we will encounter a situation where source is not found.
Encounter this problem, how to solve. Because we have introduced the package, why is it not found. If you do not know how to introduce, you can refer to: Summary of Hadoop development methods and operational guidance http://www.aboutyun.com/thread-6950-1-1.html
See the above phenomenon because we add. zip every day. How to add the ZIP package. So where are we going to find the zip bag?
(1) Unzip hadoop-2.7.3-src.tar.gz get folder Hadoop-2.7.3-src
(2) Compress the folder hadoop-2.7.3-src into Hadoop-2.7.3-src.zip
With the zip package above, we'll start by quoting:
Such as:
(1) We click Change Attach source to eject the source Attachment Configuration
(2) We found hadoop-2.7.3-src.zip through external location, click OK, add success.
Once we've added success, we'll see the source code.
Eclipse View Hadoop Source code appears source not found because no. zip was added.