Modifying Environment Variables
The method that
you use to modify environment variables depends on the Data Collector
installation type:
- Tarball installation started manually from the command line
- When you start Data Collector manually from the command line on any operating system, edit the
$SDC_DIST/libexec/sdc-env.sh
file to modify environment variables. - Tarball or RPM installation started as a service on operating systems that use the SysV init system
- When you start Data Collector as a service on CentOS 6, Oracle Linux 6, Red Hat Enterprise Linux 6, or Ubuntu
14.04 LTS, edit the
$SDC_DIST/libexec/sdcd-env.sh
file to modify environment variables. - Tarball or RPM installation started as a service on operating systems that use the systemd init system
- When you start Data Collector as a service on CentOS 7, Oracle Linux 7, Red Hat Enterprise Linux 7, or Ubuntu
16.04 LTS, edit the
sdc.service
file to modify environment variables.Note: When you install Data Collector through a cloud service provider marketplace, Data Collector is deployed as an RPM package on an operating system that uses the systemd init system. - Cloudera Manager installation
- When you install Data Collector through Cloudera Manager, modify environment variables by configuring the StreamSets service through Cloudera Manager.