gcloud dataproc jobs submit spark \
--cluster=cluster \
--region=region \
--files=config.txt \
--class=class \
--jars=gs://abc.jar
we need to access the config.txt on the driver node. How can I access the config.txt file on driver node and how to get the path where the config.txt is stored.
In HDFS world with similar --files option I can access the file in driver using java.io.File("config.txt")