If it doesn't already exist, next create a directory which will contain the Spark configuration parameters:
[name@server ~]$ mkdir ~/.spark/<spark version>/conf