In the HDP repository, there are two differenct source RPMs for each component.
For example, for Hadoop, there are the following RPMs:
hadoop-x.x.x.x.el6.src.rpmhadoop-source-x.x.x.x.el6.i386.rpm
The src and source are two different packages that serve the
following purpose:
The
srcpackage is used to re-create the binary in a given environment. You can use thesrcpackage of a particular component if you want to rebuild RPM for that component.The
sourcepackage on the other hand, is used for reference or debuging purpose. Thesourcepackage is particularly useful when you want to examine the source code of a particular component in a deployed cluster.

