How to make SDC run under different(root) user and group by modifying the docker file.

asked 2018-12-14 19:00:35 -0500

trajan gravatar image

I've changed the docker file from https://github.com/streamsets/datacol... to run the SDC with a root user on Kubernetes through openshift. It does give me an error when i try to start the SDC through command line.

Error Msg:

2018-12-15 00:53:34,980 [user:] [pipeline:] [runner:] [thread:main] WARN AbstractTask - Task 'webServer' failed to start, java.lang.RuntimeException: java.nio.file.AccessDeniedException: /etc/sdc/form-realm.properties, calling stopTask() and going into ERROR java.lang.RuntimeException: java.nio.file.AccessDeniedException: /etc/sdc/form-realm.properties at com.streamsets.datacollector.http.WebServerTask.runTaskInternal(WebServerTask.java:767)

https://gist.github.com/thiagarajan-n... is the custom Docker file and sdc_configure.sh file

edit retag flag offensive close merge delete