Location of driver.conf used for DSBULK to load data into Cassandra

I am using a configuration file as below to load data in Cassandra using DSBULK

include classpath("driver.conf")
dsbulk.connector.name="csv"
dsbulk.connector.csv.url="/my/datafile/"
dsbulk.connector.csv.delimiter=","
dsbulk.schema.keyspace="rajibks"
dsbulk.schema.table="rajibtable"

I wrote a python program to execute DSBULK using the above configuration. I noticed that i need to keep the dsbulk.conf in the DSBULK conf folder for the program to work. How do I specify a different location for the driver.conf file?


Solution 1:

You can use -f command-line switch to specify location of the configuration file (see doc). Location of driver.conf will be relative to this file.