Generating the BYOS configuration file
byos.properties file is used to connect to a DataStax Enterprise cluster from a Spark cluster.
The configuration file contains connection information about the DataStax Enterprise cluster.
This file must be generated on a node in the DataStax Enterprise cluster.
You can specify an arbitrary name for the generated configuration file.
byos.properties name is used throughout the documentation to refer to this configuration file.
Connect to a node in your DataStax Enterprise cluster.
byos.propertiesfile using the dse client-tool command.
dse client-tool configuration byos-export ~/byos.properties
This will generate the
byos.propertiesfile in your home directory. See Connect an external client to a DSE node with dse client-tool for more information on the options for dse client-tool.
byos.properties file can be copied to a node in the external Spark cluster and used with the Spark shell, as described in Connecting to DataStax Enterprise using the Spark shell on an external Spark cluster.