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