Ask Your Question
1

How to change the Streamsets installation directory?

asked 2018-08-29 05:36:50 -0500

carlo.fisicaro gravatar image

I have installed Streamsets in the directory /opt/streamsets-datacollector, I have put configuration directory in /etc/sdc and Streamsets works correctly.

Is there a way to change the installation directory (e.g /app/streamsets-datacollector) ?

Thank you so much

Carlo

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-08-29 09:14:50 -0500

metadaddy gravatar image

If you installed by extracting the tarball into that directory, and are starting Data Collector manually from the command line, you can just stop Data Collector, move /opt/streamsets-datacollector to /app/streamsets-datacollector and then restart Data Collector.

If you configured Data Collector as a service, you will need to update the relevant file to point to the new location.

  • For systemd init, edit /etc/systemd/system/sdc.service
  • For SysV init, edit /etc/init.d/sdc

If you installed from RPM, it's best to leave the installation in place, as the system will become confused if you try to install additional stage libraries, upgrade, uninstall, etc.

edit flag offensive delete link more

Comments

1

Ok it works! Thank you so much. Carlo

carlo.fisicaro gravatar imagecarlo.fisicaro ( 2018-08-29 10:02:08 -0500 )edit
Login/Signup to Answer

Question Tools

2 followers

Stats

Asked: 2018-08-29 05:36:50 -0500

Seen: 18 times

Last updated: Aug 29