Question:
How to configure Package Manager to read from a different repository (how to configure the package.manager.repository.links).
Answer:
The repository that Package Manager reads from is configured in the sdc.properties file via package.manager.repository.links configuration.
Official Data Collector releases use the following repositories by default:
http://archives.streamsets.com/datacollector/<version>/tarball/,
http://archives.streamsets.com/datacollector/<version>/tarball/enterprise/
and http://archives.streamsets.com/datacollector/<version>/legacy/
If you would like to change it for example to an https URL, you will have to make the following changes:
- In sdc.properties (For Cloudera Manager - Data Collector Advanced Configuration Snippet (Safety Valve) for sdc.properties), insert the following line:
package.manager.repository.links=https://archives.streamsets.com/datacollector/<version>/tarball/,https://archives.streamsets.com/datacollector/<version>/tarball/enterprise/
- you will need to replace <version> in the URL with the word 'latest' or with the version of Data Collector that is being used.