Skip to main content

Protected directories on Data Collector

  • December 21, 2021
  • 0 replies
  • 24 views

subashini
StreamSets Employee
Forum|alt.badge.img

Starting from SDC version 3.7.0 a new layer of security has been introduced: the new Security Manager that will prevent any stage on a pipeline to access some protected directories. This is the list of the protected directories by the Security Manager:

  • $SDC_CONF - Stages cannot access files in the configuration directory.
  • $SDC_DATA - Stages cannot access files in the data directory.
  • $SDC_RESOURCES - Stages can read files in the resources directory, but cannot write to files in the directory.

In case we would try to access any of the protected directories using a pipeline, this pipeline will fail to start with an exception similar to the following: 

Classloader SDCClassLoader[type=streamsets-libs name=streamsets-datacollector-jython_2_7-lib private=false] is not allowed access to Data Collector internal directories (/etc/sdc/sdc.properties)

 

There are three different options that will help resolve this issue:

Did this topic help you find an answer to your question?
This topic has been closed for comments