Generating the BYOS configuration file

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

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

Prerequisites

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

Procedure

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

    This will generate the byos.properties file in your home directory. See dse client-tool for more information on the options for dse client-tool.

What's next

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