Generating the BYOS configuration file

The file contains configuration settings to connect to a particular DataStax Enterprise cluster.

The 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. The name is used throughout the documentation to refer to this configuration file.


If you are using Graph OLAP queries with BYOS, increase the max_concurrent_sessions setting in your cluster to 120.


  1. Connect to a node in your DataStax Enterprise cluster.
  2. Generate the file using the dse client-tool command.
    dse client-tool configuration byos-export ~/

    This will generate the file 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.

What's next

The 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.