Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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

I've changed the docker file from https://github.com/streamsets/datacollector-docker 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/90d4d2800b6313732346127080367051 is the custom Docker file and sdc_configure.sh file