Question

runtime.conf.location=<filename> vs expected location of the file

  • 23 August 2022
  • 2 replies
  • 26 views

Hi, running data collector 5.1 on Docker under Windows there seems to be a mismatch between the locations of where I can upload a resource file to (Engine => External Resources => Upload) and the location where the collector engine looks for the resource file.

Uploading stores the file under /resources/<filename>

But when I restart the engine I get a java.io.FileNotFoundException which shows that the collector expects the file in /etc/sdc/<filename>:

java.io.FileNotFoundException: /etc/sdc/runtime.properties

 

For more clarification, I followed the steps as outlined here:

https://docs.streamsets.com/portal/platform-datacollector/latest/datacollector/UserGuide/Pipeline_Configuration/RuntimeValues.html#concept_fjx_g31_1s

 

 

What do I miss here? Is there a way to configure the resources directory?

Thank you!


2 replies

Userlevel 4
Badge

for some reason, it is expecting the file in /etc/sdc folder. Try uploading the file there but in the sdc.properties folder just mention the file name without /etc/sdc. I will have a look and find out where we can change to not look at /etc/sdc

Thank you @saleempothiwala !

Reply